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.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to