[Mimedefang] Calling filter_game_over before cleaning up temp directory

David F. Skoll dfs at roaringpenguin.com
Wed Oct 29 10:17:47 EDT 2008

Kelly Jones wrote:

> I want to define/call the Perl function filter_game_over just before
> line ~2557 in mimedefang.c:


> In other words, I want a function that's ALWAYS called when the client
> disconnects, regardless of how that disconnect happened or how far the
> client got in the SMTP transaction.

That sounds like a good idea.

> I realize that system("/path/to/my/perl/code.pl") might work,

It won't.  The current directory in the milter process is not the
same as the current directory in the scanning slave.  Calling system from
the milter will also kill performance.

When (if?) I get around to adding the filter_before function, I will
also add a filter_smtp_close function that gets called just before



More information about the MIMEDefang mailing list