[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] sendmail dnsbl macros



On 7/8/05, Steve Yates <steve@xxxxxxxxxxx> wrote:
>         I know a sendmail dnsbl rejection message can contain macros
> such as "&{client_addr}".  Is there one that will show the result of the
> dnsbl lookup?  (e.g., "127.0.0.4")?
> 

I am not sure what you are looking for, but if you mean one that gives
the link for the lookup, here is how my mc entries are set up:

Dsbl.org: 

FEATURE(`dnsbl', `list.dsbl.org', `"Open relay blocked see:
http://dsbl.org/listing?ip="$&{client_addr}  See
http://nospam.mysite.com/')dnl

Spamhaus:

FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `"Refused, Sender on Spamhaus
Combined Block List see:
http://www.spamhaus.org/query/bl?ip="$&{client_addr}  See
http://nospam.mysite.com/')dnl

The specific query line is something that I need to reconstruct on my
own by running a check with the relevant service. For example, Spamcop
would be

http://www.spamcop.net/w3m?action=checkblock&ip=$&{client_addr}";

The reference to http://nospam.mysite.com just goes to a page I have
set up which states our spam policy and also has a form to request
whitelisting or to get the mail through. No one has EVER sent me mail
that way - but if a legit user was blocked, that would give them their
recourse.

(If you were asking for something more complicated than this -- sorry.
As noted, I'm not sure I understand the question)

-Abigail

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: