Ahhh...  light blinks on.  If you're going to put the queues
on multiple disks, then your assumption is very correct.  How are you
going to handle distributing the load to the queues?  Round robin in
the script that'll send the emails out?  As for the multiple smtp
sessions, here's a run file for 'ya that has worked for me in the past:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
IP=`cat /var/qmail/control/primary_incoming_smtp_ip`
MAXSMTPD=`cat /var/qmail/control/concurrency_incoming`
exec /usr/local/bin/softlimit -m 2000000 \
        /usr/local/bin/tcpserver -v -p -c "$MAXSMTPD" \
        -u $QMAILDUID -g $NOFILESGID $IP smtp /usr/local/bin/rblsmtpd \
        /usr/local/bin/rblsmtpd -rdialups.mail-abuse.org \
        /usr/local/bin/rblsmtpd -rrelays.mail-abuse.org \
        /var/qmail/bin/qmail-smtpd 2>&1

        It goes w/o saying that I recommend using the daemontools to
monitor your smtpd services.  -sc

On Tue, Mar 20, 2001 at 05:43:08PM -0800, Brandon Yu wrote:
> Delivered-To: [EMAIL PROTECTED]
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> From: Brandon Yu <[EMAIL PROTECTED]>
> To: 'Sean Chittenden' <[EMAIL PROTECTED]>
> Cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: RE: Multiple QMAIL-SMTPD on same box?
> Date: Tue, 20 Mar 2001 17:43:08 -0800
> X-Mailer: Internet Mail Service (5.5.2650.21)
> 
> I just understand that qmail has a difficult time with so I/O when you have
> tons of email to send out (2million). Unfortunately, the emails are
> customized to each user. By having a separate qmail install on each disk,
> the idea is to spread the load around.  Would you agree? I will look into
> binding tcpserver with different addresses. 
> 
> Thanks,
> Brandon
> 
> > -----Original Message-----
> > From: Sean Chittenden [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, March 20, 2001 5:27 PM
> > To: Brandon Yu
> > Cc: List - Qmail (E-mail)
> > Subject: Re: Multiple QMAIL-SMTPD on same box?
> > 
> > 
> >     Howdy.  I've done this before: it's cake, but I'm not sure why
> > you would want to do mutliple queues.  As for modifying tcpserver, why
> > not just run multiple copies and bind them to different 
> > addresses?  -sc
> > 
> > On Tue, Mar 20, 2001 at 05:19:05PM -0800, Brandon Yu wrote:
> > > Delivered-To: [EMAIL PROTECTED]
> > > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> > > Precedence: bulk
> > > Delivered-To: mailing list [EMAIL PROTECTED]
> > > From: Brandon Yu <[EMAIL PROTECTED]>
> > > To: "List - Qmail (E-mail)" <[EMAIL PROTECTED]>
> > > Subject: Multiple QMAIL-SMTPD on same box? 
> > > Date: Tue, 20 Mar 2001 17:19:05 -0800
> > > X-Mailer: Internet Mail Service (5.5.2650.21)
> > > 
> > > I am setting up multiple Qmail installations on the same 
> > box. I am doing
> > > this because I am sending out a large number of emails that 
> > can't be sent
> > > out via a mailing list. By having multiple installs, I 
> > intend to lessen the
> > > I/O burden of just having 1 queue structure. My question is 
> > how to setup
> > > multiple qmail-smtpd processes all binding to port 25 using 
> > different IP
> > > addresses. I intend to setup multiple IPs to the same NIC 
> > using IP Aliasing.
> > > I think I will be modifying TCPSERVER, but not 100% sure.
> > > 
> > > Thanks
> > > 
> > > 
> > 
> > -- 
> > Sean Chittenden                [EMAIL PROTECTED]
> > 

-- 
Sean Chittenden                [EMAIL PROTECTED]

PGP signature

Reply via email to