[Mimedefang] DNS Lookups in MD - Was RBL and DNS lookups

Jan-Pieter Cornet johnpc at xs4all.nl
Fri May 11 18:59:38 EDT 2007


On Fri, May 11, 2007 at 11:46:04AM -0400, Kevin A. McGrail wrote:
> I disagree.  I run at least to routines in my filter which use DNS which I 
> find very effective.

Ditto. BogusMX and user-defined (per-recipient) blacklists are
checked from filter_recipient, so that's even before the mail body 
is received.
 
> BTW, several years ago, someone helping me with RelayRegistry showed me how 
> to start making MD "mini" modules.  I didn't understand what they meant 
> then but now I see the error of my ways.  However, despite my searching, I 
> can't find the info.  I'm looking to do something like put all the reverse 
> DNS info in a separate file and use a C-esque #INCLUDE.

That might have been me. That framework is still available, and we've
been using it for years now, without any problem. It doesn't support
all mimedefang features, though (notably filter_tick isn't implemented),
but it would be easy to add.

It's available here:
http://www.xs4all.nl/~johnpc/mimedefang-modular/

I really should've putten more effort into open-sourcing this. The
"core" files as distributed are still the ones we use today, but
it's lacking some features available in mimedefang that we happen
not to use, and it could use some more documentation...

But it might be useful nonetheless.

> BTW, I'm not sure I completely understand why &'s are bad for function 
> calls.  I don't use them because that is how Perl4 worked.  I use them 
> because it makes the highlighting in VIM-Enhanced work better ;-)

Hm, isn't VIM-Enhanced lagging behind the official vim release? is -
Enhanced necessary? I'm using the official vim 7.0, works fine. Colour
hilighting is indeed different between function() and &function() but I
find the former more readable :) However, if you prefer to have your
function calls hilighted as such, I'm sure the vim syntax hilighter
can be adapted to do so. It's just a little too late right now to
find out how :)

-- 
Jan-Pieter Cornet <johnpc at xs4all.nl>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!



More information about the MIMEDefang mailing list