[Mimedefang] Re: MD-Quarantine and received by headers

David F. Skoll dfs at roaringpenguin.com
Sat Feb 3 13:42:54 EST 2007


Damrose, Mark wrote:
>> From: Yizhar Hurwitz

>> So I would still like to know if/how I can preserve this 
>> information in the quarantine directory, and try to do it 
>> efficiently as well by minimizing system calls from my custom filter.

MIMEDefang has a synthesize_received_header function that returns
a header quite similar to what Sendmail *would* have added.  Example filter
code:

my $hdr = synthesize_received_header();
my $qdir = get_quarantine_dir();
# Now save $hdr somewhere in $qdir

Regards,

David.



More information about the MIMEDefang mailing list