HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Developers' Forum (
-   -   ISPC3: spamfilter_policy-problem with php-mail (

Antennipasi 6th January 2009 12:47

ISPC3: spamfilter_policy-problem with php-mail
yesterday i had first major problem with ISPC3.
i am taking it to production in steps, moving our own domains to it from Plesk. yesterday i moved one wich had forum in it. forum send mails with php-mail function to thread subscribes, and because forum is finnish language, message headers contain local characters.

problem was that those messages did not go thru ISPConfig to mailboxes in other domains allready moved to ISPC3 because they gor blocked by Amavisd&postfix with message:


amavis[2023]: (02023-08) Blocked BAD-HEADER ....snip...
postfix/smtp[17449]: ..snip.. (250 2.6.0 Ok, discarded, id=16826-01 - BAD_HEADER: Non-encoded 8-bit data ..snip..

when searching for reason, i found out that ISPConfigs own greetings-messages got stuck too because same reason. but these got passed earlier. so my eyes missed changes somewhere.

i fixed this by changing all spamfilter_policy:bypass_header_checks to "Y" in database.
i dont think this is really bug, amavis is just following settings that is given to it, and php-mail is not coding headers righ. but this behavior could cause lot of problems if not known by admin.

otherwise, it seemed messages was blocked also when smamfilter was off for destination domain, and that is a bug. i try to verify this later.

All times are GMT +2. The time now is 10:21.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.