Andreas Kuhlen via Postfix-users: > Hello, > I run a Postfix server with Amavis/Clamav, Spamassassin and run header > and body checks for mails. However, this should only apply to external > mails, as it happened that mails sent by a cronjob with a pflogsumm > report did not go through because they contained a word that was blocked > by the body checks.
Can you encode the text, like base64? It's not hard to generate a MIME formatted message that content-transfer-encodine base64. > For this purpose, I created an IP alias (127.0.1.2) in the /etc/hosts > file and then in the /etc/postfix/master.cf according to the > instructions https://www.postfix.org/BUILTIN_FILTER_README.html#remote_only > and added the last 6 lines. Now it works that no header/body checks > are performed for the pflogsumm report. However, I get a warning message > every minute: Maybe Hobbit's header_checks feature can handle this? /pattern/ PASS optional text... Log a "pass:" record with the optional text... (or log a generic text), and turn off header, body, and Milter inspection for the remainder of this message. Note: this feature relies on trust in information that is easy to forge. This feature is available in Postfix 3.2 and later. > However, I get a warning message > postfix/master[182681]: warning: master_wakeup_timer_event: service > pickup(public/pickup): Connection refused You messed the pickup service definition in master.cf. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org