On Fri, Mar 20, 2009 at 11:13:21AM -0700, Post Freak wrote:

> I need to only allow access to known addresses, and found that setting
> up smtpd_recipient_restrictions in main.cf would reject unauthorized
> recipients. I have this setting in main.cf:
> 
> smtpd_recipient_restrictions =
>       hash:/etc/postfix/allowed_users,
>       reject_unauth_destination

Replace "reject_unauth_destination" with "reject" and don't use implicit
"check_mumble_access" in "smtpd_mumbe_restrictions". It is best to start
with "reject_unauth_destination" so are not an open relay by accident
as the rule-set evolves, particularly if you add anti-spam rules, and
then whitelists for those rules:

    smtpd_recipient_restrictions =
        reject_unauth_destination,
        ... anti-spam rules here ...
        check_recipient_access hash:/etc/postfix/allowed_users,
        reject

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to