Benny Pedersen wrote:
i like to have postfix strip these chars in headers so amavisd does not block 
the mails with bad header, well maybe it kill dkim :/

but is there better options ?

reject and let senders solve it ?


The better option is to configure amavisd-new to accept bad headers. I'm pretty sure amavisd-new accepts bad headers by default, but here are some settings you can look for.
# amavisd.conf
$final_bad_header_destiny = D_PASS;
@bypass_header_checks_maps = (1);

You could configure postfix to reject such mail, but then you'll lose otherwise legit mail.

  -- Noel Jones

Reply via email to