develooper Front page | perl.qpsmtpd | Postings from March 2011

Re: check_badrcptto, to prevent backscatter

Thread Previous | Thread Next
From:
Chris Lewis
Date:
March 10, 2011 19:41
Subject:
Re: check_badrcptto, to prevent backscatter
Message ID:
4D7999CF.3080109@nortel.com
On 3/10/2011 12:43 PM, Ask Bjørn Hansen wrote:
>
> On Mar 10, 2011, at 6:49, Matt Sergeant wrote:
>
>> Should we have plugins/qmail and plugins/postfix dirs?
>
> I like that idea.

I think we'd be better served by coming up with, for example, a "qpsmtpd 
way" of doing this sort of thing.

For example: for basic RCPT TO functionality, have a basic RCPT time 
plugin that can handle aliasing, allowable domain relays, lists of valid 
addresses, tagged addresses etc.  Base the plugin around being able to 
read a "qpsmtpd format" file specifying all that stuff.

Then, have a series of different front-ends for that plugin that can 
translate configuration files from other mail platforms into whatever 
idiom the RCPT TO plugin understands.

You can even make the "front-ends" plugins of a sort to the hook_rcpt 
plugin.  Including being able to slip out of the config file paradigm 
into, say, custom LDAP/DBMS interfacing for parts of it.

I think much is to be gained by putting all this MTA functionality (how 
you actually _apply_ an alias, handle tagged addresses, etc etc etc) 
into _one_ plugin, rather than having to replicate ALL of it into 
different plugins written by different people with different skill/bug 
levels that in the end only differ as to config file format.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About