The creation and cleanup of the working directory is done in the C code, not the Perl, so changing MIME::Tools wouldn't do anything. Are you possibly running two instances of MIMEDefang on the same machine? Or could you have a cron job or some other thing that's cleaning up /var/spool/MIMEDefang? Regards, Dianne.