Stopping emails from an email address.
I'm trying to stop all emails from an email address.
To do so I checked that I have this in my main.cf
checksenderaccess
hash:/etc/postfix/sender_access,
and I have it.
Than I added this
to my /etc/postfix/sender_access
and restarted postfix.
No emails is stopped.
That email address continue to send me email.
WHy?
Thanks.
5 Replies
@derfy:
Have you run 'postmap /etc/postfix/sender_access'?
yes.
@derfy:
And this is listed in the 'smtpdsenderrestrictions' area? Try turning on verbose logging with the -v switch in master.cf
I have this
checksenderaccess
hash:/etc/postfix/sender_access
in the smtpdrecipientrestrictions area.
The are you mentioned is this:
smtpdsenderrestrictions =
permit_mynetworks,
permitsaslauthenticated,
rejectnonfqdn_sender,
rejectunknownsender_domain,
permit
what should I add to it?