[ale] Postfix Config Help
Jim Popovitch
jimpop at yahoo.com
Fri Sep 29 15:34:09 EDT 2006
On Fri, 2006-09-29 at 11:38 -0700, ale at jeffx.com wrote:
> smtpd_recipient_restrictions = permit_mynetworks, check_sender_access
> hash:/opt/postfix/etc/access_sender, reject_unauth_destination,
> check_policy_service inet:127.0.0.1:10026
>
> Where inet:127.0.0.1:10026 is the grey_listing checker. The problem is
> postfix is doing exactly what it says it should do:
> "Restrictions are applied in the order as specified; the first restriction
> that matches wins."
>
> What I would like is if the FILTER is triggered, that it gets considered a
> rejection and wins.
>
Postfix has several checkpoints, so while smtpd_recipient_restrictions
is one, there is also smtpd_sender_restrictions and that need similar
logic. For instance your incoming emails may be side-tracked by checks
in smtpd_helo_restrictions before smtpd_recipient_restrictions is ever
analysed. Try adding similar logic to smtpd_sender_restrictions.
-Jim P.
More information about the Ale
mailing list