I'm no expert, but since I've just been setting up my own qmail, some of
this is still freshly confusing for me! Did you remember to do all of the
following?
chmod +t /var/qmail/supervise/qmail-smtpd
chown qmaill:nofiles /var/log/qmail/smtpd
chmod 2700 /var/log/qmail/smtpd
chmod 755 (both of your run files)
From: Dave Fallon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Help with qmail-smtpd logging
Date: Wed, 27 Jun 2001 20:18:36 -0700
I have qmail, qmail-smtpd, and qmail-pop3d running on my system, all in
default configurations (in /var/qmail/*, using daemontools/tcpserver,
etc.). Qmail-pop3d is nicely running and logging things, but qmail-smtpd is
dumping all messages to the console (tty1) - can anyone help me fix this?
It's driving me nuts, as I obviously now have no log of what's going on
with my smtp server. Here's the /service/qmail-smtpd/run script:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
21
and the /service/qmail-smtpd/log/run script:
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpd
and for comparison (the working config, I can read logfiles/whatnot) the
qmail-pop3d/run and log/run files:
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 pop3 /var/qmail/bin/qmail-popup \
iron.tetsubo.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
21
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/pop3d
Please note I'm not subscribed to the mailing list. Thanks for any help!
dave
_
Get your FREE download of MSN Explorer at http://explorer.msn.com