Re: bad headers

[email protected] Tue, 23 Sep 2025 07:47:37 -0700
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
     Just to add a real life example to P@ricks message ...

     I have an old UPS that sends status via Email.  It doesn't supply a 
Date field.  So rejecting Emails of this sort would eliminate these 
status Emails, which would be a problem in my case.

     And a [bonus] side note.  I am presently migrating my Email system 
to a new server.  My MUA doesn't handle these "dateless" Emails very 
well, so I've developed some scan/fix scripts to find the old Emails and 
add a Date field, based on the Received headers.

Paul

On 9/23/25 07:22, Patrick Ben Koetter wrote:
> * Benny Pedersen <[email protected]>:
>> is it safe to reject based on this in amavisd.conf
>>
>> X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date"
>>
>> i don't know how to :/
> Safe as in "you will not loose legitimate mail"? Personally I wouldn't. Have
> you considered to do an impact analysis based on the mail flow you might want
> to filter?
>
> p@rick
>