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 list bl.spamcop.net > R$* $: $&{client_addr} > R$-.$-.$-.$- $: <?> $(dnsbl $4.$3.$2.$1.bl.spamcop.net. $: OK $) > R<?>OK $: OKSOFAR > R<?>$+<TMP> $: TMPOK > R<?>$+ $#error $@ 5.7.1 $: "550 Mail from " $&{client_addr} > " rejected, s > ee http://spamcop.net/bl.shtml?" $&{client_addr} > > On the FreeBSD 8.x server, this is the corresponding section: > > # DNS based IP address spam list bl.spamcop.net > R$* $: $&{client_addr} > R$-.$-.$-.$- $: <?> $(dnsbl $4.$3.$2.$1.bl.spamcop.net. $: OK $) > R<?>OK $: OKSOFAR > R<?>$+<TMP> $: TMPOK
I've got: FEATURE(`dnsbl', `ix.dnsbl.manitu.net',`"550 Rejected - see http://www.heise.de/ix/nixspam/nixspam.blackmatches"')dnl in my .mc, and get this in my .cf: # DNS based IP address spam list ix.dnsbl.manitu.net R$* $: $&{client_addr} R$-.$-.$-.$- $: <?> $(dnsbl $4.$3.$2.$1.ix.dnsbl.manitu.net. $: OK $) R<?>OK $: OKSOFAR R<?>$+<TMP> $: TMPOK R<?>$+ $#error $@ 5.7.1 $: "550 Rejected - see http://www.heise.de/ix/nixspam/nixspam.blackmatches" This is on 8.1 from July 15th. I just ran make all again, and it stays the same. Fired up my VMware image with a three-day old -stable, and put both mine and yours in, and yours is missing the error line. I experimented a bit, and it appears that the macro does not like having the $&{client_addr} at the very end of the parameter. If I add "", it starts working. No idea how or why, but there you go :-) FEATURE(`dnsbl', `bl.spamcop.net', `"550 " $&{client_addr} "foo" $&{client_addr} ""')dnl Stefan -- Stefan Bethke <s...@lassitu.de> Fon +49 151 14070811 _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"