* abaesche@worklab.de wrote on Thu, Dec 13, 2001 at 14:36 +0100:
relaymailfrom: I have no idea what this file does.
remove this file :) If you want to relay from i.e. 192.168.x.x, let TCP Server set a variable. I start qmail this way: #changes will be detected automatically if [ "/etc/tcp.smtp" -nt "/etc/tcp.smtp.cdb" ] ; then echo "Rebuilding TCP Rules (Relayhosts)" tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp \ < /etc/tcp.smtp \ || err_exit "Fehler beim Erstellen der Konfiguration!" else echo "(TCP Rules not changed)" fi [...] tcpserver -x /etc/tcp.smtp.cdb \ -u `id -u qmaild` -g `id -g qmaild` 0 \ smtp /var/qmail/bin/qmail-smtpd \ 2>&1 | /var/qmail/bin/splogger smtpd 3 & /etc/tcp.smtp reads as it follows: 127.:allow,RELAYCLIENT="" 192.168.:allow,RELAYCLIENT="" So clients from that IP ranges get marked as RELAYCLIENT and are allowed to relay. Since it's IP source based it cannot be faked such easy. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel.