[lug] Qmail rcpthosts woes

Kevin Fenzi kevin at scrye.com
Mon Aug 19 11:23:34 MDT 2002


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

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

Michael> At 10:49 AM 8/19/2002, Kevin Fenzi wrote:
>> 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> Ignorance -- complete, total, and abject -- of the 'right'
Michael> way to do things. I walked through the INSTALL instructions

well, there is often more than one "right" way to do things. ;) 

Michael> for qmail but they started to talk about stuff going in
Michael> inetd.conf. Since I'm not using inetd but xinetd, I did a web
Michael> search and found the incantation that I posted earlier which
Michael> is in my xinetd.d/smtp file:

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> I really have no idea what is really going on with all the
Michael> various daemons that touch mail-related packets, so if I've
Michael> done the wrong thing I appreciate any advice. But deep down
Michael> I'm operating at the level of, "all I want to do is have a
Michael> mail server that I can use to run Mailman for a couple of
Michael> small lists" and not at the level of, "I really want to
Michael> understand all the details because I enjoy that stuff."

indeed. 

I would remove/disable the xinetd entry and run tcpserver manually: 

tcpserver -DRUvX -c 50 -l <yourhostname> -x /etc/tcp.smtp.cdb 0 smtp qmail-smtpd

That should do the trick. 
I usually use 'supervise' to run the tcpserver to make sure it's
always running, but if you just want it to work now, the above should
work. ;) 

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/>

iD8DBQE9YSmZ3imCezTjY0ERAsPnAKCMpQxiELqEs+TM2htuDa5LnavG/QCfTJMR
M3t+olK6zKgLK5bTwKJEqOg=
=2A5p
-----END PGP SIGNATURE-----



More information about the LUG mailing list