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

Re: [vps-mail] sendmail dnsbl macros



I tried sending a variation of this reply earlier, but it was
blacklisted [sigh]. I'll give it one more try, then give up.

On 7/8/05, Godwin Stewart <gstewart@xxxxxxxxxxx> wrote:

> I assume that this enhdnsbl macro is a recent addition.

It's been around since at least 2002. Version 1.9 (in
 /usr/share/sendmail/cf/feature/enhdnsbl.m4) has a CVS timestamp of 2002/05/19).

Earlier today I was looking for a more generic sendmail macro that
might contain that information, but struck out. (I haven't given up,
though).

If you really want to differentiate among a large number of return
values (say, 127.0.0.2, 127.0.0.3, ... 127.0.0.45 [for example]) and
don't want to do separate lookups for each possible return value, you
might want to copy and rename either dnsbl.m4 or enhdnsbl.m4 and
modify it to assign the value returned to a macro with a (unique) name
of your choosing, so that it is available to the message returned.

When I used enhdnsbl (in the past) it was when I wanted to block
e-mail from a specific country, and the dnsbl I used (its name escapes
me at the moment) identified mail from China with one return value,
mail from Japan from another (etc.) ... and I wanted to block only
mail from one of the countries within its scope.

Ben

(P.S. If the sendmail.org reference to enhdnsbl doesn't clear things
up, you might want to read http://technoids.org/dnsbl.html#AppendixB.
Read Appendix A just before it to see examples of different return
values that some DNS blacklists  might return.)

-- 
Bennett Lanford <benlanford@xxxxxxxxx>

There are 10 kinds of people: those that understand binary and those that don't.

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