Re: Apparent dnsbl bug in Sendmail or m4

2010-08-22 Thread John Nielsen
It was pointed out to me that the example in freebsd.mc has been double-quoted for some time. That's what I get for carrying old config files around for too long I suppose. Sorry for the noise and thanks again all for the prompt replies. On Aug 22, 2010, at 3:48 PM, John Nielsen wrote: > On Au

Re: Apparent dnsbl bug in Sendmail or m4

2010-08-22 Thread John Nielsen
On Aug 22, 2010, at 6:40 AM, Stefan Bethke wrote: > Am 22.08.2010 um 10:00 schrieb Stefan Bethke: > >> FEATURE(`dnsbl', `bl.spamcop.net', `"550 " $&{client_addr} "foo" >> $&{client_addr} ""')dnl > > The real culprit is the comma. I believe the problem stems from unquoted use > of the argument

Re: Apparent dnsbl bug in Sendmail or m4

2010-08-22 Thread Stefan Bethke
Am 22.08.2010 um 10:00 schrieb Stefan Bethke: > FEATURE(`dnsbl', `bl.spamcop.net', `"550 " $&{client_addr} "foo" > $&{client_addr} ""')dnl The real culprit is the comma. I believe the problem stems from unquoted use of the arguments in some of the ifelses, where the comma turns the single arg

Re: Apparent dnsbl bug in Sendmail or m4

2010-08-22 Thread Stefan Bethke
Am 22.08.2010 um 09:10 schrieb John Nielsen: > FEATURE(dnsbl, `bl.spamcop.net', `"550 Mail from " $&{client_addr} " > rejected, see http://spamcop.net/bl.shtml?"; $&{client_addr}') > > On the FreeBSD 4.x server, this is the corresponding section in the .cf file: > > # DNS based IP address spam

Apparent dnsbl bug in Sendmail or m4

2010-08-22 Thread John Nielsen
I'm migrating a sendmail server from FreeBSD 4.x to FreeBSD 8.x. After turning on the new server and feeding it some "live" e-mail, I noticed that the DNS blacklist lookups weren't actually rejecting e-mail like they did on the old server. (Actually the presence of blacklist information in the