Blocked BAD-HEADER-0 {RejectedInbound,Quarantined

Damian amavis at
Mon Aug 29 17:03:52 CEST 2022

>>> How do I determine what exactly is wrong with the header that the 
>>> remote server is sending?
>> What is your log_level and do you see "check_header: " log lines?
> $log_level = 1;
> I don't see check_header in the logs.
> What should I set it to?
$log_level = 2;
>>> If I can't get the remote site to fix their stuff, is there a way to 
>>> bypass the header check for their domains only?
>> If they DKIM-sign their mails, you can use author_to_policy_bank_maps 
>> and disable header checks inside such policy_bank.
> And if they don't, what's suggested?

Beyond author_to_policy_bank_maps there is not built-in mechanism to 
define a sender-domain-based policy.

> Is there a way to configure the system to reject messages with bad 
> headers, but to do the rejection with a temporary, rather than a 
> permanent code, so that the the remote system should attempt the 
> sending again later?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amavis-users mailing list