On 2/24/2011 6:35 AM, Matteo Cazzador wrote:
I made this
smtpd_sender_restrictions =
hash:/etc/postfix/sender_access,permit_sasl_authenticated,permit_mynetworks,permit
like this:
smtpd_sender_restrictions =
check_sender_access hash:/etc/postfix/sender_access
You don't need the permit* here.
in sender_access i wrote
[email protected] REJECT
Yes, although it's helpful to put optional text with the
reject to help you remember next year why that mail was
rejected.
[email protected] REJECT restricted sender address
Be sure to run
postmap sender_access
after editing that file, then watch the logs for a while to
make sure it's working as expected.
-- Noel Jones