I'm launching tcpserver for my POP service from /var/qmail/rc, which looks
like this:
-------
#!/bin/sh
# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail &
# Starts up qmail-smtpd
# Currently no logging. Will be fixed.
/usr/local/bin/tcpserver -R -q -p -x /etc/smtprules/tcp.smtp.cdb -u79 -g1003 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 &
# Starts up POP3 server
/usr/local/bin/tcpserver -q -R -u79 -g1003 0 pop3 \
/var/qmail/bin/qmail-popup amazhan.bitstream.net \
/var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
-------
The odd thing is that I frequently end up with two tcpserver processes
for POP3, both with identical command lines. As you can see, I am not
running svscan or any of the daemontools...
Any ideas?
Ben
--
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
-- Neal Stephenson