[TriLUG] Limiting postfix destinations
David Black
dave at jamsoft.com
Tue Jun 3 13:09:08 EDT 2008
Try reject_unauth_destination instead of permit_auth_destination, or,
add a ", reject" to the end of what you have.
I believe there is an implicit 'permit' at the end of
smtpd_recipient_restrictions.
More info: http://netmirror.org/mirror/postfix.org/SMTPD_ACCESS_README.html
Dave
Jeff Ellis wrote:
> I need to configure a postfix server to be able to send mail only to
> certain domains. In other words, accept mail originating on localhost, but
> only relay it if the recipient is in an "allowed" domain. I've tried:
>
> smtpd_recipient_restrictions = permit_auth_destination
> relay_domains = alloweddomain.com
>
> But sending a mail to some other domain still works too. Anyone know what
> I'm missing?
>
> Thanks,
> Jeff
More information about the TriLUG
mailing list