Well, I had qmail running fine when I was starting it using a SysV style
init script (out of the old qmail howto), but when I tried to install
djbdns, I ran into some trouble so I figured I'd try out svscan /service.
Now, I can get qmail to accept mail from other systems when I start it under
svscan, but qmail-rspawn doesn't start. I shut that down stumbled around a
bit and got it partially started back up under the SysV init script but it
wouldn't accept connections (tcpserver wouldn't start)... it did send the
queued mail, though. ;)
To get this message out, qmail started under svscan and then I ran the SysV
init script on top of that... I did get qmail-rspawn started that way, but
its a big ugly mess...
supervise is starting qmail-send and qmail-smtpd (and the two loggers) fine.
I see two copies of multilog running and one copy of tcpserver... Well,
here's the relevant ps -auxw output.
root 18561 6.6 1.3 1088 320 ? S 02:30 12:26 supervise
qmail-send
root 18562 0.0 1.3 1088 320 ? S 02:30 0:00 supervise log
root 18563 0.0 1.3 1088 320 ? S 02:30 0:00 supervise
qmail-smtpd
qmaill 18565 0.0 1.3 1100 312 ? S 02:30 0:00
/usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-send
qmaild 18567 0.0 2.1 1208 484 ? S 02:30 0:00
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 503 -g 502 0 s
root 18568 0.0 1.3 1088 320 ? S 02:30 0:00 supervise log
qmaill 18571 0.0 1.3 1100 316 ? S 02:30 0:00
/usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-smtpd
I don't even know where to begin looking for an answer... I'm using the run
scripts from the new qmail howto...
- svscan style -
[root@roto-router qmail-send]# cat run
!/bin/sh
exec /var/qmail/rc
[root@roto-router qmail-smtpd]# cat run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
- SysV style -
csh -cf '/var/qmail/rc &'
supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb -u$USER
ID -g$GROUPID 0 25 \
rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
setuser qmaill cyclog -s5000000 -n5 /var/log/qmail/qmail-smtpd &
The differences seem to be rblsmtpd, accustamp, and cyclog... But none of
those seem to make any sense as the source of my problem... Any suggestions?