Re: header_checks not working correctly

2009-12-08 Thread Ansgar Wiechers
On 2009-12-07 Christopher Adams wrote: > I have a file sender_blacklist: > > m...@somplace.org/ REJECT Does the unobfuscated address in that line really have the trailing slash? If so, that may be the reason why the mail goes through. Also, as sahil pointed out, you may want to clarify if you wa

Re: header_checks not working correctly

2009-12-07 Thread Sahil Tandon
On Mon, 07 Dec 2009, Christopher Adams wrote: > Okay, it is obvious that my approach to getting assistance is all > wrong. True, I did not understand the posting protocol, mainly > because I don't post often to this list. Yes, I did begin the posting > with the subject of header_checks. Some kind

Re: header_checks not working correctly

2009-12-07 Thread Daniel V. Reinhardt
> >From: Christopher Adams >To: postfix-users@postfix.org >Sent: Tue, December 8, 2009 5:51:13 AM >Subject: Re: header_checks not working correctly > >Okay, it is obvious that my approach to getting assistance is all wrong. True, >I did not understand the posting pr

Re: header_checks not working correctly

2009-12-07 Thread Christopher Adams
Okay, it is obvious that my approach to getting assistance is all wrong. True, I did not understand the posting protocol, mainly because I don't post often to this list. Yes, I did begin the posting with the subject of header_checks. Some kind fellow gave me some assistance and I attempted to try t

Re: header_checks not working correctly

2009-12-07 Thread Sahil Tandon
On Mon, 07 Dec 2009, Christopher Adams wrote: > Okay, no more ignorant posts. I will give you all that I have based on the > protocol as spelled out. > > 1. Summary of the problem: attempting to ban an email address using a hash > map does not work. The message is delivered anyway. Sorry, this i

Re: header_checks not working correctly

2009-12-07 Thread Daniel V. Reinhardt
> >From: Christopher Adams >To: Postfix users >Sent: Tue, December 8, 2009 5:00:37 AM >Subject: Re: header_checks not working correctly > >Okay, no more ignorant posts. I will give you all that I have based on the >protocol as spelled out. > >1. Summary of the

Re: header_checks not working correctly

2009-12-07 Thread Christopher Adams
Okay, no more ignorant posts. I will give you all that I have based on the protocol as spelled out. 1. Summary of the problem: attempting to ban an email address using a hash map does not work. The message is delivered anyway. 2. Error messages: none 3. Logging: Maillog shows that the message wa

Re: header_checks not working correctly

2009-12-07 Thread Wietse Venema
Christopher Adams: > Thank you for your helpful reply. > > So, now I have this in main.cf: > > smtpd_sender_restrictions = >check_sender_access hash:/etc/postfix/sender_blacklist > > I have a file sender_blacklist: > > m...@somplace.org/ REJECT > > I issued the command 'postmap

Re: header_checks not working correctly

2009-12-07 Thread Christopher Adams
Thank you for your helpful reply. So, now I have this in main.cf: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_blacklist I have a file sender_blacklist: m...@somplace.org/ REJECT I issued the command 'postmap hash:/etc/postfix/sender_blacklist' I iss

Re: header_checks not working correctly

2009-12-07 Thread Sahil Tandon
On Tue, 08 Dec 2009, Ansgar Wiechers wrote: > On 2009-12-07 Christopher Adams wrote: > > I am trying to ban an address from sending through my system. > > > > I have this in main.cf: > > > > header_checks = regexp:/etc/postfix/header_checks > > > > In the header_checks file, I have this: > > >

Re: header_checks not working correctly

2009-12-07 Thread Sahil Tandon
On Mon, 07 Dec 2009, Christopher Adams wrote: > I am trying to ban an address from sending through my system. > > I have this in main.cf: > > header_checks = regexp:/etc/postfix/header_checks > > In the header_checks file, I have this: > > /^From: .*someplace.org/ DISCARD > > I did a 'postfix

Re: header_checks not working correctly

2009-12-07 Thread Ansgar Wiechers
On 2009-12-07 Christopher Adams wrote: > I am trying to ban an address from sending through my system. > > I have this in main.cf: > > header_checks = regexp:/etc/postfix/header_checks > > In the header_checks file, I have this: > > /^From: .*someplace.org/ DISCARD > > I did a 'postfix reload'

header_checks not working correctly

2009-12-07 Thread Christopher Adams
I am trying to ban an address from sending through my system. I have this in main.cf: header_checks = regexp:/etc/postfix/header_checks In the header_checks file, I have this: /^From: .*someplace.org/ DISCARD I did a 'postfix reload' Messages from someplace.org are still being delivered. What