Date: Sun, 27 Jan 2008 12:00:17 GMT From: mattijs vreeling <mattijs.vreeling@snow.nl> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/120038: dnsbl features in sendmail mc file not showing up in cf file Message-ID: <200801271200.m0RC0HI9016223@www.freebsd.org> Resent-Message-ID: <200801271210.m0RCA1DL094252@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801271200.m0RC0HI9016223>
