Linode Forum
https://forum.linode.com/

Stopping emails from an email address.
https://forum.linode.com/viewtopic.php?f=11&t=7817
Page 1 of 1

Author:  sblantipodi [ Tue Sep 27, 2011 5:55 am ]
Post subject:  Stopping emails from an email address.

Hi all.
I'm trying to stop all emails from an email address.

To do so I checked that I have this in my main.cf
check_sender_access
hash:/etc/postfix/sender_access,
and I have it.

Than I added this
mail@address.com REJECT
to my /etc/postfix/sender_access

and restarted postfix.

No emails is stopped.
That email address continue to send me email.
WHy?

Thanks.

Author:  derfy [ Tue Sep 27, 2011 7:21 am ]
Post subject: 

Have you run 'postmap /etc/postfix/sender_access'?

Author:  sblantipodi [ Tue Sep 27, 2011 7:21 am ]
Post subject: 

derfy wrote:
Have you run 'postmap /etc/postfix/sender_access'?


yes.

Author:  derfy [ Tue Sep 27, 2011 7:53 am ]
Post subject: 

And this is listed in the 'smtpd_sender_restrictions' area? Try turning on verbose logging with the -v switch in master.cf

Author:  hoopycat [ Tue Sep 27, 2011 8:13 am ]
Post subject: 

Is mail@address.com the envelope sender, as seen in your postfix mail log? (This may be different from the From: address, seen in your mail client.)

Author:  sblantipodi [ Tue Sep 27, 2011 6:23 pm ]
Post subject: 

derfy wrote:
And this is listed in the 'smtpd_sender_restrictions' area? Try turning on verbose logging with the -v switch in master.cf


I have this
check_sender_access
hash:/etc/postfix/sender_access
in the smtpd_recipient_restrictions area.

The are you mentioned is this:
smtpd_sender_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
#reject_non_fqdn_sender,
#reject_unknown_sender_domain,
permit

what should I add to it?

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/