[Mimedefang] How to verify that Mimedefang is done writing to quaratine dir?

David F. Skoll dfs at roaringpenguin.com
Wed Apr 25 19:42:06 EDT 2007


Matt Garretson wrote:

> Hi... Is there a way to be sure that action_quarantine_entire_message()
> has finished copying the files for a given message to its quarantine dir?
> I'm concerned that my external quarantine management program may try to 
> read a file that is still being written out by Mimedefang.  I see in the
> mimedefang.pl source that it does try to link the INPUTMSG as the final
> step, but it doesn't seem to be guaranteed.

Well, you need some kind of signalling mechanism to tell your external
program that action_quarantine_entire_message has finished.  Touching
a file isn't a bad idea; you can do that from your filter.

Regards,

David.



More information about the MIMEDefang mailing list