Re: rejecting clients greeting me with my own name (was: static map returns 554, causing message to be accepted)

2010-10-04 Thread Jerry
On Mon, 4 Oct 2010 17:49:17 +0200 martin f krafft articulated: > also sprach Noel Jones [2010.10.04.0507 > +0200]: > > Lots easier to just use > > /^myhostname(\.mydomain)?$/ REJECT don't use my hostname > > Thanks to everyone who responded. I am now going the suggested way. > > However,

rejecting clients greeting me with my own name (was: static map returns 554, causing message to be accepted)

2010-10-04 Thread martin f krafft
also sprach Noel Jones [2010.10.04.0507 +0200]: > Lots easier to just use > /^myhostname(\.mydomain)?$/ REJECT don't use my hostname Thanks to everyone who responded. I am now going the suggested way. However, it occurs to me that this is something postfix could be trivially doing itself,

Re: static map returns 554, causing message to be accepted

2010-10-03 Thread Noel Jones
On 10/3/2010 7:34 AM, martin f krafft wrote: Dear list, I found that a lot of spam can be weeded out by rejecting clients who greet me with my own hostname. Initially, I achieved this with the following: main.cf: smtpd_helo_restrictions = […] check_helo_access pcre:$config

Re: static map returns 554, causing message to be accepted

2010-10-03 Thread Stan Hoeppner
martin f krafft put forth on 10/3/2010 7:34 AM: > Dear list, > > I found that a lot of spam can be weeded out by rejecting clients > who greet me with my own hostname. Initially, I achieved this with > the following: > > main.cf: > smtpd_helo_restrictions = > […] > check_helo_ac

Re: how to return a multi-word result with a static map (was: static map returns 554, causing message to be accepted)

2010-10-03 Thread martin f krafft
also sprach martin f krafft [2010.10.03.1456 +0200]: > How can I use a static map to return a "5xx message" result? According to http://www.irbs.net/internet/postfix/0208/0380.html, what I am trying to do is simply not possible. Is this still the case? -- martin | http://madduck.net/ | http://t

how to return a multi-word result with a static map (was: static map returns 554, causing message to be accepted)

2010-10-03 Thread martin f krafft
also sprach martin f krafft [2010.10.03.1434 +0200]: > check_helo_access static:554 > > but that got the message accepted too. I found in access(5): ACCEPT ACTIONS all-numerical An all-numerical result is treated as OK. This format is generat

static map returns 554, causing message to be accepted

2010-10-03 Thread martin f krafft
Dear list, I found that a lot of spam can be weeded out by rejecting clients who greet me with my own hostname. Initially, I achieved this with the following: main.cf: smtpd_helo_restrictions = […] check_helo_access pcre:$config_directory/reject_helo_myhostname reject_helo_my