Sendmail rbl

Res res at ausics.net
Wed Feb 7 23:22:33 CET 2007


Just some cosmetics..

On Wed, 7 Feb 2007, James Fagan wrote:

>
> FEATURE(enhdnsbl, `sbl-xbl.spamhaus.org', `"550 - Email "`$&f'" rejected
> from "`$&{client_addr}'" check it:
> http://www.spamhaus.org/query/bl?ip="`$&{client_addr}'"')dnl


You dont need all those extra commas, in fact you might confuse sendmail 
with fields. The correct way would be to use something like...


FEATURE(`enhdnsbl', `sbl-xbl.spamhaus.org', `"550 - Email "$&f" rejected
from "$&{client_addr}" check it: 
http://www.spamhaus.org/query/bl?ip="$&{client_addr}',`')dnl


..remember it is not the macros you are enclosing, it is only the text.


-- 
Cheers
Res

"We can be Heroes, just for one day" - Davey (Jones) Bowie




More information about the MailScanner mailing list