Bill Shupp wrote: > Nikki Locke wrote: > > In the toaster, the /service/run/qmail-smtpd/run file contains a tcpserver > > command with the "-H" and "-l 0" options. "-H" tells tcpserver not to look > > up the host name of the connecting IP address, hence the "unknown" in the > > Received line. "-l 0" tells tcpserver to use a local host name of "0", > > hence the "by 0". > > > > I have changed all the qmail run files with tcpserver commands (smtpd, > > pop3d and pop3ds) to omit the "-H", and otherwise to follow the template > > suggested in "Life with QMail", e.g. > > > > #!/bin/sh > > QMAILDUID=`id -u vpopmail` > > NOFILESGID=`id -g vpopmail` > > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` > > LOCAL=`head -1 /var/qmail/control/me` > > > > exec /usr/local/bin/softlimit -m 8000000 \ > > /usr/local/bin/tcpserver -v -R -l "$LOCAL" \ > > -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ > > -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ > > /var/qmail/bin/qmail-smtpd \ > > /home/vpopmail/bin/vchkpw /bin/true 2>&1 > > > > Questions: > > Why is the toaster setting the way it is? > > Performance, it cuts down on dns lookups. > > > Is there some advantage to offset the odd Received lines? > > No. > > > What are the disadvantages of the way I have it? > > Additional DNS lookups. > > > Should I have just done qmail-smtpd, instead of all three? > > Probably, SMTP is likely the only one that will cause you problems, as > you have found. > > Regards, > > Bill
Wow, speedy response from the man himself. Thanks, Bill. I'll put back the -H in the pop3 scripts, then. -- Nikki Locke, Trumphurst Ltd. PC & Unix consultancy & programming http://www.trumphurst.com/