Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Preferred module for SMTP server?

by mattr (Curate)
on Dec 03, 2005 at 16:56 UTC ( [id://513824]=perlquestion: print w/replies, xml ) Need Help??

mattr has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, It is probably to good to be true but I've come up with yet another antispam idea, and am curious about which module to use. There is a writeup but basically I want not to filter by content, but to create virtual email addresses often and wipe out old ones.

Note: This is naive and I just thought of it today. Maybe it's been done before or has some fatal flaw. Also I don't have experience with sendmail filtering. Anyway, to see if it works, I need to choose a base SMTP server implementation (in perl of course). I am guessing this cannot be done with just Sendmail::PMilter.

So, does anyone have experience to help choose which module to use as a base? Candidates seem to include Sendmail::PMilter, Net::SMTP::Server, NetServer::SMTP (though old), Net::SMTP, POE::Component::Server::SMTP (though it is an empty husk), and Net::Server::Mail (which looks nice). At the moment I'm planning on jumping in with the last choice.

Thanks for your help!

Matt R.

UPDATE: Thanks tirwhan, I had not seen the very similar idea posted a month ago by tomazos. How wierd. I've updated my page with the info and replied to him too since he thought of it first. Though with a slightly different focus, I think his replies to the standard "why your antispam solution won't work" form letter also apply to mine too.

Replies are listed 'Best First'.
Re: Preferred module for SMTP server?
by tirwhan (Abbot) on Dec 03, 2005 at 17:06 UTC

    I can confirm that Net::Server::Mail does indeed work very well. I'm currently using it in conjunction with Net::Server::PreFork and it's doing the job perfectly.

    As for your idea, you may want to read this thread, it sounds somewhat similar to the idea tomazos had.


    Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan
      Thanks ever so much. I didn't know about that thread but updated my post and the writeup. Interesting. I'm curious how the TempAddresses module installs itself too. Also checked the PreFork module you mention. Neat. It also looks like just what I want for a WxPerl app as I posted a few weeks ago but for that the pod says it won't pass on Win32!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://513824]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-25 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found