[Mimedefang] Help with header checking

Giovanni Bechis giovanni at paclan.it
Thu Nov 26 10:27:40 EST 2020

On 11/26/20 11:10 AM, Andrea Venturoli wrote:
> On 11/26/20 8:46 AM, Giovanni Bechis wrote:
>> both Mail::Headers and Mail::Field are still current, are you able to provide
>> a sample "./HEADERS" file ?
>> Just add this snippet after the open(2) call:
>> open(LOGH, '>', "/tmp/headers.log") or die $!;
>> print LOGH <HF>;
>> close LOGH;
> Wouldn't this overwrite the same file again and again?
> I'd need to let it run until that kind of mail arrives and not loose it at the next one.
> Can't it be written to syslog in some way?
sorry, I thought it was reproducible in some way, I think calling action_quarantine_entire_message()
as Diane suggested is the correct thing to do in this case.


More information about the MIMEDefang mailing list