[techtalk] Qmail and inetd

Aaron Malone aaron at munge.net
Wed Jan 17 18:54:45 EST 2001


On Thu, Jan 11, 2001 at 10:43:40AM +1100, Mary Gardiner wrote:
> The problem is that Mailman mails by connecting to port 25, and qmail
> considers this being asked to relay mail, which it doesn't like to do.
> Does anyone know how to convince qmail controlled by inetd (not by
> tcpserver, which is what the FAQs are all about) to relay for 127.0.0.1?

Honestly, I don't know how to do this with inetd.  What needs to be done
is that if the connection comes from 127.0.0.1, inetd should set the
environment variable RELAYCLIENT.  This instructs qmail-smtpd to allow
relaying for that session.  Does anyone who knows inetd better than I know
how to do this?

Alternatively, is there some reason you can't use tcpserver?

-- 
Aaron Malone (aaron at semo.net)        "Clothes make the man.
System Administrator                  Naked people have little or
Poplar Bluff Internet, Inc.           no influence on society."
http://www.semo.net                          -- Mark Twain




More information about the Techtalk mailing list