[lug] Qmail rcpthosts woes

Kevin Fenzi kevin at scrye.com
Mon Aug 19 10:49:52 MDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Michael" == Michael Deck <deckm at cleansoft.com> writes:

Michael> I used to have a working qmail setup on my local LAN. It's
Michael> gotten broken somehow and I'm not sure how to fix it. I'm
Michael> having the problem that all my outgoing mail is being
Michael> rejected by "that host is not in my rcpthosts" message. But I
Michael> *think* I've followed all the steps. 1. My
Michael> var/qmail/control/rcpthosts file is empty.  2. I am using
Michael> tcpserver so I set up the relaying permissions as follows

Michael>    echo '192.168.100.:allow,RELAYCLIENT=""' > /etc/tcp.smtp
Michael> tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.temp < /etc/tcp.smtp

Michael> 3. I am using xinet so /etc/xinetd.d/smtp looks like this

Michael> service smtp { instances = 20 socket_type = stream protocol =
Michael> tcp wait = no user = qmaild # server =
Michael> /var/qmail/bin/qmail-smtpd server = /var/qmail/bin/tcp-env
Michael> server_args = /var/qmail/bin/qmail-smtpd -x/etc/tcp.smptp.cdb
Michael> }

Michael> 4. I restart xinetd and qmail.

Michael> 5. When I go to do the TEST.receive, I get the message that
Michael> the host is not in rcpthosts when I enter rcpt
Michael> <deckm at cleansoft.net>

Michael> If I add myself to rcpthosts, it all goes fine. But obviously
Michael> I can't add every host. Can anyone spot my mistake?

The /etc/tcp.smtp.cdb file is something that gets normally used by
tcpserver, not qmail-smtpd. 

Is there any reason why you are using xinetd to run qmail-smtpd
instead of tcpserver? 

Michael> -Mike

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQE9YSGx3imCezTjY0ERAlpxAJ90BboWpLgXc0Mk/ix/GO4wDzD7kACfdWda
Poqnmk1oSePpp+udvLKPvg8=
=tL6z
-----END PGP SIGNATURE-----



More information about the LUG mailing list