[Mimedefang] Calling filter_game_over before cleaning up temp directory

Kelly Jones kelly.terry.jones at gmail.com
Mon Nov 24 09:26:38 EST 2008


On 10/29/08, David F. Skoll <dfs at roaringpenguin.com> wrote:
> Kelly Jones wrote:
>
>> I want to define/call the Perl function filter_game_over just before
>> line ~2557 in mimedefang.c:
>
> OK.
>
>> 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
> cleanup.

David, how much would it cost to get this done?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.



More information about the MIMEDefang mailing list