Tom Williams wrote:

Tom Williams wrote:

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.

Ok, I've made some progress. Here is what my /home/vpopmail/etc/tcp.smtp has in it:

[EMAIL PROTECTED] etc]# cat tcp.smtp
127.0.0.1:allow,RELAYCLIENT=""
69.59.161.106:allow,RELAYCLIENT=""
:allow
[EMAIL PROTECTED] etc]#

My rcpthosts file did NOT contain the domain of the e-mail address to which I was trying to send mail, per the man pages:

http://qmail.area.com/man/man8/qmail-smtpd.html

/rcpthosts/
Allowed RCPT domains.  If /rcpthosts/ is supplied,
*qmail-smtpd* will reject any envelope recipient address
with a domain not listed in /rcpthosts/.

Exception:  If the environment variable *RELAYCLIENT* is
set, *qmail-smtpd* will ignore /rcpthosts/, and will append
the value of *RELAYCLIENT* to each incoming recipient
address.

/rcpthosts/ may include wildcards:

heaven.af.mil
.heaven.af.mil

Envelope recipient addresses without @ signs are always
allowed through.


Ok, now since the RELAYCLIENT parameter in tcp.smtp IS set to null, why is rcpthosts still being checked by qmail-smtpd? Maybe I should set RELAYCLIENT="" in the /service/qmail-smtpd/run file?


Thanks....

Peace...

Tom

Ok, I've changed my /service/qmail-smtpd/run file to set RELAYCLIENT="" at the top and then export it and all is running just fine. As for tcpserver appearing as a "zombie", I'm guessing that's just how it appears in the process list. It's working now, so I'm not worried about it. :)


Thanks for the help!

Peace...

Tom



Reply via email to