Hello

I would like to bypass all rules in postfix config for some recipients. I
almost did id, but i have problem with header and body checks. I don't know
why, but don't work receive_override_options=no_header_body_checks in
additional instance of smtpd. Main cleanup process always block my email.
Only when I disable header and body checks in main.cf, the message is not
blocked.

Part of the main.cf

content_filter = smtp-amavis:[127.0.0.1]:10024

smtpd_client_restrictions = 
        check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
        ...
        permit

smtpd_helo_restrictions =
        check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
        ...
        permit

smtpd_sender_restrictions =
        check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
        ...
        permit

smtpd_recipient_restrictions =
        check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
        ...
        permit

smtpd_data_restrictions = 
        check_recipient_access pcre:/etc/postfix/recipient_checks_2.pcre,
        ...
        permit

header_checks = pcre:/etc/postfix/header_checks.pcre
body_checks = pcre:/etc/postfix/body_checks.pcre

/etc/postfix/recipient_checks.pcre
/addr...@domain.com/    permit

/etc/postfix/recipient_checks_2.pcre (bypass amavisd)
/addr...@domain.com/    FILTER smtp:[127.0.0.1]:10026

Thanks for help



--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Reply via email to