Hi! I've got Qmail 1.03 and Vpopmail 5.3.28 running on a RedHat 9 Linux box. I've got several virtual hosts defined through Vpopmail. I can login via POP3 and read my mail, but I can't send any mail via SMTP since I get the 5.7.1 error which indicates the domain isn't in the rcpthosts file.

My /var/qmail/control/rcpthosts file does contain all of my virtual domains, so I don't get what the problem is. I've got vpopmail configured to support roaming users and my /home/vpopmail/etc/open-smtp and /home/vpopmail/etc/tcp-smtp files (including the .cdb file) are present:

[EMAIL PROTECTED] control]# cd /home/vpopmail/etc
[EMAIL PROTECTED] etc]# dir -l
total 20
-rw-r--r--    1 vpopmail vchkpw         25 Oct 18 11:11 inc_deps
-rw-r--r--    1 vpopmail vchkpw         48 Oct 18 11:11 lib_deps
-rw-r--r--    1 root     root           57 Nov 21 19:47 open-smtp
-rw-r--r--    1 root     root            0 Nov 21 19:47 open-smtp.lock
-rw-r--r--    1 vpopmail vchkpw         73 Nov 21 00:46 tcp.smtp
-rw-r--r--    1 root     root         2170 Nov 21 00:48 tcp.smtp.cdb

I've got clearopensmtp scheduled to run hourly.

I've been scouring mailing list archives, FAQs, and just about anything else I could find to see if I could figure out what's going on. I _have_ discovered I'm getting these messages in my /var/log/qmail/qmail-smtpd/current log:

@400000003fbdd4ed23287ef4 tcpserver: fatal: unable to bind: address already used

So, I tried to figure out what was grabbing port 25, thus preventing qmail-smtpd from grabbing that port. What I've discovered is for _some_ strange reason, when the /service/qmail-smtpd/run script runs, something goes wrong and "tcpserver" becomes a zombie and holds on to port 25:

6650 ? S 0:00 [tcpserver]
6684 ? S 0:00 /usr/local/bin/tcpserver -l mydomain.com -H -R 0 pop3 /var/qmail/bin/qmail-popup mydomain.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir

[EMAIL PROTECTED] qmail-smtpd]# lsof -i :25
tcpserver 6650 qmaild    3u  IPv4 404506       TCP *:smtp (LISTEN)
[EMAIL PROTECTED] qmail-smtpd]#

Here is my /server/qmail-smtpd/run file:

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
export PATH="/var/qmail/bin:/usr/local/bin:$PATH"
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -l mydomain.com -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-u$QMAILDUID -g$NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null
[EMAIL PROTECTED] qmail-smtpd]#

At this point, I'm totally stumped as to what could be wrong. I can send mail when connecting through a Courier IMAP 2.1.2 server that's running (accessed via SquirrelMail) and I can receive messages via POP3 but I just can't send messages from remote machines via SMTP. I don't know if this is related to Vpopmail or Qmail, so I'm starting here.

*Any* help that could be provided would be greatly appreciated.

Thanks in advance for your help!



Reply via email to