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

Re: [vps-mail] sendmail dnsbl macros



On Fri, 8 Jul 2005 22:12:57 +0200
Godwin Stewart <gstewart@xxxxxxxxxxx> wrote:

> No.

	Bummer.

> Furthermore, sendmail isn't able to differentiate between various positive
> lookups so if you want to use, for example, dul.dnsbl.sorbs.net (127.0.0.10
> response) and spam.dnsbl.sorbs.net (127.0.0.6 response), you have to
> declare each zone separately in your list of DNSBLs. You can't use the
> aggregate zone, dnsbl.sorbs.net, and tell sendmail to reject only if the
> lookup result is 127.0.0.10 or 127.0.0.6.

	Actually it can, using enhdnsbl:

http://www.sendmail.org/m4/features.html#dnsbl

"By default, any successful lookup will generate an error. Otherwise the result of the lookup is compared with the supplied argument(s), and only if a match occurs an error is generated."

I'm not sure of the syntax for more than one result IP.

	And I should clarify that I could probably use

FEATURE(`enhdnsbl', `xbl.spamhaus.org', `bl.php?result=127.0.0.3', `', `127.0.0.3.')
FEATURE(`enhdnsbl', `xbl.spamhaus.org', `bl.php?result=127.0.0.4', `', `127.0.0.4.')
FEATURE(`enhdnsbl', `xbl.spamhaus.org', `bl.php?result=127.0.0.5', `', `127.0.0.5.')
...

...and generate a custom message for each.  But, that would mean
multiple lookups.

 - Steve Yates
 - ITS, Inc.
 - What do you call a man will half a brain?  Gifted.

~ Taglines by Taglinator 4 - www.srtware.com ~


======================================================================
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: