Hi,
today seeing the logs of one of the servers i see that all the emails sent by one of the scripts was flagged as BAD HEADER and put it on quarantine. was something weird why i constructed the header variable in the correct way, so i tried to search for a solution. first of all i set the directive @bypass_header_checks_maps
@bypass_header_checks_maps = (
read_hash(“/var/amavis/badheader_bypass”),
);
there you can set 1 per line, all the email that you want to avoid the email header check. even that i do it, it didn’t worked for me, so i looked at the quarantine email and i look something like this:
X-Amavis-Alert: BAD HEADER SECTION Improper use of control character (char 0D
hex): Content-type: text/html; charset=iso-8859-1\r
so, i erased all the /r from the emails headers and all worked
i hope this help you in some way
Regards,
Shadow.





