M. Jackson Wilkinson on Sun, 05 Jan 2003 11:10:35 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] relay


I think this is what you're asking, provided that hisdomain.com in your example was the local domain on the qmail server you were attempting to use, and that it wasn't limited to hotmail or yahoo either.

in qmail, regular external connections can only send mail to domains that qmail has been told to accept in control/rcpthosts (/etc/qmail or /var/qmail usually)...

if you want to be a relay for s specific set of hosts, create or edit /etc/tcp.smtp and add lines like so:

10.1.1.:allow,RELAYCLIENT=""
10.2.1.1:allow,RELAYCLIENT=""

the first line will allow 10.1.1.0/24 (10.1.1.*) to use your host as a relay to any domain, and the second will allow that one system 10.2.1.1 to do the same.

then issue a

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp

to activate the changes

... if tcp.smtp was new, you'll have to add "-x /etc/tcp.smtp.cdb" after tcpserver in your init scripts.

Best,
Jack

upendra wrote:
hi all
May I know why , when mails are sent from a particular
node get error from mail server(qmail) that "mails to
yahoo hotmail can 't b relayed" but when they are
sent to some@hisdomain.com are sent they have no problem??
what are the possible problems???


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug



_________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug


  • References: