uro jotne wrote:
I had to put the 196.168.2 (the LAN) in /etc/tcp.smtp. However, I still have 172.16.0 (DMZ, where the mail server is) in /home/vpopmail/etc/tcp.smtp. Now it works, but I would sleep better if I understood how vpopmail uses the two files /etc/tcp.smtp and /home/vpopmail/etc/tcp.smtp. I mistakenly thought that /home/vpopmail/etc/tcp.smtp overroled /etc/tcp.smtp, but apparently it doesn't. I woluld be thankful if somebody in the know would care to explain how the two files are related.
It doesn't use both files, it uses one or the other. Check your startup
file for qmail-smtpd to see what file it uses.
exec /usr/local/bin/softlimit -m 19000000 \
/usr/local/bin/tcpserver -p -v -R \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
Mine uses /home/vpopmail/etc/tcp.smtp (the .cdb is the actual cdb file
generated from tcp.smtp)
Also, please fix your email client to wrap at 72 characters or there about.