[Mimedefang] Help with header checking

Andrea Venturoli ml at netfence.it
Thu Nov 26 05:10:56 EST 2020

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?


More information about the MIMEDefang mailing list