misc/120038: dnsbl features in sendmail mc file not showing up in
cf file
mattijs vreeling
mattijs.vreeling at snow.nl
Sun Jan 27 12:10:01 UTC 2008
>Number: 120038
>Category: misc
>Synopsis: dnsbl features in sendmail mc file not showing up in cf file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 27 12:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: mattijs vreeling
>Release: 6.3-STABLE
>Organization:
snow
>Environment:
FreeBSD linq.nxdomain.nl 6.3-STABLE FreeBSD 6.3-STABLE #3: Wed Jan 23 23:47:47 CET 2008 root at linq.nxdomain.nl:/usr/obj/usr/src/sys/LINQ_KERN i386
>Description:
when adding the dnsbl feature to the mc file, in my case /etc/mail/linq.nxdomain.nl.mc, after running make && make install the rule isn't showing up in the sendmail.cf file.
-- line in .mc file --
FEATURE(dnsbl, `sbl.spamhaus.org', `"550 Mail from " $&{client_addr} " on SBL, see http://www.spamhaus.org/query/bl?ip=" $&{client_addr}')
-- lines in .cf file --
# DNS based IP address spam list sbl.spamhaus.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: <?> $(dnsbl $4.$3.$2.$1.sbl.spamhaus.org. $: OK $)
R<?>OK $: OKSOFAR
R<?>$+<TMP> $: TMPOK
-- expected lines in .cf file --
# DNS based IP address spam list sbl.spamhaus.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: <?> $(dnsbl $4.$3.$2.$1.sbl.spamhaus.org. $: OK $)
R<?>OK $: OKSOFAR
R<?>$+<TMP> $: TMPOK
R<?>$+ $#error $@ 5.7.1 $: "550 Mail from " $&{client_addr} " on SBL, see http://www.spamhaus.org/query/bl?ip=" $&{client_addr}
>How-To-Repeat:
add FEATURE(dnsbl, `sbl.spamhaus.org', `"550 Mail from " $&{client_addr} " on SBL, see http://www.spamhaus.org/query/bl?ip=" $&{client_addr}') to .mc file and run make && make install from /etc/mail
>Fix:
workaround for me at the moment is to add the rewrite line in my sendmail.cf file manually.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list