BlackMagic
New Email
I've used qmail-1.03 for 10 years without problems. Recently I installed the latest patched version, netqmail-1.06, on a Centos 5.4 box and followed the LWQ instructions to the letter. qmail appears to be working, but when I look at the status of the various components using qmailctl I see that qmail-smtpd is exiting after approximately 1 second, and is being continuously restarted by svcscan, rapidly churning through pids along the way.
Here's the proof:
qmailctl status
/service/qmail-send: up (pid 32545) 1211 seconds
/service/qmail-send/log: up (pid 32547) 1211 seconds
/service/qmail-smtpd: up (pid 6275) 0 seconds
/service/qmail-smtpd/log: up (pid 32550) 1211 seconds
.....short delay.....
qmailctl status
/service/qmail-send: up (pid 32545) 1264 seconds
/service/qmail-send/log: up (pid 32547) 1264 seconds
/service/qmail-smtpd: up (pid 6555) 1 seconds
/service/qmail-smtpd/log: up (pid 32550) 1264 seconds
I've seen a couple of queries about this on Google but I've never seen an answer.
I've checked all the supervise/run commands and they appear to be OK. The log for qmail-send (/var/log/qmail/current) is OK, but the log for qmail-smtpd (/var/log/qmail/smtpd/current) is empty.
The log for svcscan doesn't show any problems. Here is additional configuration information:
cat /var/qmail/supervise/qmail-send/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail
cat /var/qmail/supervise/qmail-smtpd/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd
ps xf shows (in part):
2228 ? S 0:00 \_ supervise rsync
2262 ? S 0:00 | \_ tcpserver -vHRU -l 0 192.168.100.13 873 nice -5 rsync --daemon --no-detach --config /etc/rsyncd.conf
2230 ? S 0:00 \_ supervise qmail-send
2231 ? S 0:00 \_ supervise log
2234 ? S 0:00 \_ supervise qmail-smtpd
15118 ? Z 0:00 | \_ [tcpserver] <defunct>
2235 ? S 0:00 \_ supervise log
From this I suspect there's something wrong with the tcpserver, but it's working OK with other modules.
I would appreciate if someone could point me in the right direction.
Here's the proof:
qmailctl status
/service/qmail-send: up (pid 32545) 1211 seconds
/service/qmail-send/log: up (pid 32547) 1211 seconds
/service/qmail-smtpd: up (pid 6275) 0 seconds
/service/qmail-smtpd/log: up (pid 32550) 1211 seconds
.....short delay.....
qmailctl status
/service/qmail-send: up (pid 32545) 1264 seconds
/service/qmail-send/log: up (pid 32547) 1264 seconds
/service/qmail-smtpd: up (pid 6555) 1 seconds
/service/qmail-smtpd/log: up (pid 32550) 1264 seconds
I've seen a couple of queries about this on Google but I've never seen an answer.
I've checked all the supervise/run commands and they appear to be OK. The log for qmail-send (/var/log/qmail/current) is OK, but the log for qmail-smtpd (/var/log/qmail/smtpd/current) is empty.
The log for svcscan doesn't show any problems. Here is additional configuration information:
cat /var/qmail/supervise/qmail-send/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail
cat /var/qmail/supervise/qmail-smtpd/log/run
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd
ps xf shows (in part):
2228 ? S 0:00 \_ supervise rsync
2262 ? S 0:00 | \_ tcpserver -vHRU -l 0 192.168.100.13 873 nice -5 rsync --daemon --no-detach --config /etc/rsyncd.conf
2230 ? S 0:00 \_ supervise qmail-send
2231 ? S 0:00 \_ supervise log
2234 ? S 0:00 \_ supervise qmail-smtpd
15118 ? Z 0:00 | \_ [tcpserver] <defunct>
2235 ? S 0:00 \_ supervise log
From this I suspect there's something wrong with the tcpserver, but it's working OK with other modules.
I would appreciate if someone could point me in the right direction.