Gabriel Ricard wrote:
Ok, this may be a totally crazy idea that's completely unnecessary, but here
it goes:
It's necessary - I've never seen any smtpd that would have Tcl embedded
:( Exim has Perl. We should have Tcl! :-)

I want to have a high performance mail server that's easy to configure for
use in our system at work. Currently we're bound to apache/php and such and
our mail server is Exim. Exim is a great mailserver, but it's not terribly
fast, at least in our setup, for delivering large batches of messages. (we
send out about 3K email updates in the morning and few hundred every hour or
two during the day). I guess it's kind of like the Apache of mail servers.
It can do lots of stuff, and it performs well, but it's a PITA to setup.
Exim is quite cool, but handling outgoing mail ... PITA ... :)

So, what I'd really like is a multi-threaded mailserver, that is simple to
setup, can interface with code (to handle email sent to certain addresses),
and can talk to our database (currently MySQL). Now, thinking about it,
that's exactly what AOLServer does for HTTP traffic, so why can't I use
AOLServer for  my SMTP traffic as well? I could have a module that maintains
a pool of threads to handle mail, it can authenticate or grab aliases and
domains from my database, and I can even setup special email addresses to
handle bounces with a tcl proc.
Hmmmm. Kind of a cool team project, when you think of it. Could work
either using Thread extension or AOLserver :)

So, has this been done already? Or even thought of? Is it possible?
We use some of it internally - www.dq-e.com/nsmail :) It's more of a
POP3 server, but I guess it could be expanded to handle SMTP as well.

It's not exactly what you thought. We use exim to deliver outgoing email
and a transport for delivering email to AOLserver - it leaves a file in
/usr/local/aolserver/mail/incoming and sends out a HTTP request for
http://localhost:8008/nsmail/notify to deliver the email:)

Or am I just nuts?
Thought about it some year ago :) Ended up with an exim+AOLserver hybrid.

--
WK
(written at Stardate 56882.9)

"Data typing is an illusion. Everything is a sequence of bytes."
                                                             -Todd Coram

Reply via email to