I have been following the instructions in
http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html but it seems
like I am still an open relay! What is wrong?!

What I want to do is allow any user on my C-net / LAN to send mail thru the
SMTP server without any limitations, and the world only send/recive mails
either to or from a @company address.

LOCALHOST: can send as who-ever@what-ever to anyone@anyhost
LAN: can send as who-ever@what-ever to anyone@anyhost
OUR C-NET: can send as who-ever@what-ever to anyone@anyhost
WORLD: can send as user@company to anyone@anyhost

Best regards,
Michael Boman

PS
The files:

# cat /var/qmail/control/rcpthosts
intsys.wizoffice.com
intsys.wizoffice.com.sg
localhost
webmail.intsys.wizoffice.com
webmail.intsys.wizoffice.com.sg
webmail.wizoffice.com
webmail.wizoffice.com.sg
wizoffice.com
wizoffice.com.sg

# cat /etc/tcp.smtp
192.168.2.:allow,RELAYCLIENT=""
10.1.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
203.117.18.:allow,RELAYCLIENT=""
:allow


I made the /etc/tcp.smtp.cdb file using following command:

# cat /etc/tcp.smtp | tcprules /etc/tcp.smtp.cdb ~/tcp.smtp.tmp


I am running tcpserver with following syntrax:

tcpserver -v -H -R -x/etc/tcp.smtp.cdb -c 100 -u 1001 -g 101 0 smtp
/var/qmail/bin/qmail-smtpd | /var/qmail/bin/splogger smtpd 3 &

DS

--
Michael Boman, Systems Engineer
WizOffice.Com Pte Ltd - 16 Tannery Lane, #06-00
Crystal Time Building, Singapore. 347778
Your Online Office Wizard - http://www.wizoffice.com/

Reply via email to