Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 27, 2011 5:55 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
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.


Top
   
 Post subject:
PostPosted: Tue Sep 27, 2011 7:21 am 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 142
Have you run 'postmap /etc/postfix/sender_access'?


Top
   
 Post subject:
PostPosted: Tue Sep 27, 2011 7:21 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
derfy wrote:
Have you run 'postmap /etc/postfix/sender_access'?


yes.


Top
   
 Post subject:
PostPosted: Tue Sep 27, 2011 7:53 am 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:11 pm
Posts: 142
And this is listed in the 'smtpd_sender_restrictions' area? Try turning on verbose logging with the -v switch in master.cf


Top
   
 Post subject:
PostPosted: Tue Sep 27, 2011 8:13 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
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.)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Tue Sep 27, 2011 6:23 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
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?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group