Sendmail rbl

sandrews at andrewscompanies.com sandrews at andrewscompanies.com
Wed Feb 7 18:59:16 CET 2007


Check here:
http://www.sendmail.org/doc/sendmail-current/doc/op/op.pdf

Somewhere about page 42 it list all the macros.  I think you're looking
for $f

Steve 

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Paul
Houselander
Sent: Wednesday, February 07, 2007 9:34 AM
To: mailscanner at lists.mailscanner.info
Subject: OT: Sendmail rbl

Hi

Very off topic so will be brief, just been tearing my hair out trying to
find a way to do this and im sure its straight forward.

Im using

FEATURE(`dnsbl','sbl-xbl.spamhaus.org',`"554 Rejected " $&{client_addr}
" - listed in rbl"')dnl

Which works fine, what im trying to do is include the senders address in
the
554 Reject message i.e.

554 Rejected x.x.x.x From - abc at test.com - listed in rbl

Is there a sendmail macro (not sure if thats the correct term) for the
senders address the same as there is for the clients address i.e.
$&{client_addr}

The reason I want to do this, is so its easier for me to parse and log
the info when I have all the info on one line.

Any help appreciated.

Thanks

Paul


--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 




More information about the MailScanner mailing list