Where would I find detailed specs on the QMTP protocol?  I've found some
stuff at http://cr.yp.to/proto/qmtp.txt, but I need more.  

We're writing a little piece of code that's going to sit on a couple of
hundred Win2000 webservers that can talk QMTP to our qmail box for faster
delivery.  Users come to our site and sign up for automatically generated
charts and other such things and the webservers generate the content for the
email and send it off using SMTP right now.  We need to speed this up as
much as possible, and QMTP looks like the best way to do it since we already
have a qmail box sending most of our other subscriber mail.  

We also have several QMQP servers.  Would it maybe be better to make it talk
QMQP to the boxes running qmail-qmqpd?  


=========================
Here's my setup below in case anyone is wondering (warning: may be confusing
without a picture):

I have one main machine that runs ezmlm and a full version of qmail, it also
runs a second copy of qmail (actually mini-qmail, we'll get to that in a
minute).  qmail-qmqpc is modified on the machine to load balance between all
of my QMQP servers.  I can add QMQP servers as necessary if the load gets to
high on the rest of them.  The full version of qmail is running to handle
bounces, and to accept mail from webservers.  Ezmlm-idx is set up to use
QMQP for delivery, so messages being sent out get distributed to multiple
QMQP servers.  If the email comes in from a webserver, box running ezmlm
would try to send it off itself...  I didn't want that to happen because I
want to keep the disk activity and other resources down as much as possible,
so the logical choice would be to offload all mail not destined for the
local box to the QMQP servers.  Since I couldn't figure out a better way to
do it, I installed a copy of mini-qmail with qmail-smtpd listening on port
26, and my modified qmail-qmqpc.  smtproutes is set up so all outgoing mail
goes to mini-qmail (on port 26) which distributes it to the QMQP servers.  I
wish smtproutes would let you specify a protocol to use... :)  So the way
this is set up, all outgoing mail gets sent to QMQP servers to let them
handle the queueing and sending.  Main destined for the local machine is
still accepted and processed normally.  

Right now, I have 2 bottlenecks...  The SMTP connection that the webservers
use to send mail through it, and the SMTP connection to port 26 that the
main copy of qmail redirects outgoing mail to.  

----------
Jay Austad
Network Administrator
CBS Marketwatch
612.817.1271
[EMAIL PROTECTED]
http://cbs.marketwatch.com
http://www.bigcharts.com


Reply via email to