[Mimedefang] Re: Code to remove winmail.dat files and replace themwiththe attachments.

David F. Skoll dfs at roaringpenguin.com
Sun Aug 14 22:53:17 EDT 2005


Stewart wrote:

> Is it that the attachments are being processed  in the same
> directory and under load some messages are being  processed at the same
> time as each other out of the same directory?

No, that's not possible at all.

> That's about the only
> explanation i can think of for the behaviour  i'm seeing - although now
> i think of it, doesn't MD create a temp dir  under /var/spool/MIMEDefang
> for each message it's processing?

Yes, and the temp directory is named the same as the sendmail queue-ID,
which is guaranteed never to repeat for N years, where N is a very large
number. :-)

> Also i'm wondering about the '-f Work $path' of the original line as 
> 'Work' doesn't seem to be a perl variable or a parameter that (my 
> version of) ytnef seems to know about.

mimedefang.pl unpacks INPUTMSG into a directory called Work, under the
current working directory.

--
David.



More information about the MIMEDefang mailing list