Re: freebsd 6.2 sendmail dnsbl



There is not a problem with the current dnsbl.m4, A read of the cf/README straightened me out.

regards

John Rushford wrote:
Greetings,

I'm by no means a sendmail guru and do not read m4 but, I believe that the current /usr/share/sendmail/cf/feature/dnsbl.m4 may be broken. I use dns blacklists and noticed recently that in /var/log/maillog I was no-longer logging rejects from spamhaus. I replaced dnsbl.m4 on my 6.2 server with an older one from a 5.5 freebsd server and am now logging rejects from spamhaus.

Has anyone else noticed this? Am I ok to use the older version from 5.5?

Here is a diff between the dnsbl.m4.save (6.2) and dnsbl.m4 (5.5)

$ diff dnsbl.m4.save dnsbl.m4
3c3
< # Copyright (c) 1998-2002, 2005-2007 Sendmail, Inc. and its suppliers.
---
> # Copyright (c) 1998-2002, 2005 Sendmail, Inc. and its suppliers.
15c15
< VERSIONID(`$Id: dnsbl.m4,v 8.33 2007/01/05 18:49:29 ca Exp $')
---
> VERSIONID(`$Id: dnsbl.m4,v 8.30 2005/07/25 20:56:53 ca Exp $')
17,18d16
< ifelse(defn(`_ARG_'), `',
< `errprint(`*** ERROR: missing argument for FEATURE(`dnsbl')')')
23c21
< define(`_DNSBL_SRV_', `_ARG_')dnl
---
> define(`_DNSBL_SRV_', `ifelse(len(X`'_ARG_),`1',`blackholes.mail-abuse.org',_ARG_)')dnl
34,38c32
< ifelse(`X'_ARG2_,`Xquarantine',
< `R<?>$+ $#error $@ quarantine $: _DNSBL_SRV_',
< `X'_ARG2_,`Xdiscard',
< `R<?>$+ $#discard $: _DNSBL_SRV_',
< `R<?>$+ $#error $@ 5.7.1 $: _DNSBL_MSG_')
---
> R<?>$+ $#error $@ 5.7.1 $: _DNSBL_MSG_
.