Operating System - HP-UX
1829225 Members
2145 Online
109987 Solutions
New Discussion

How to configure sendmail 8.9.3 to secure mail RELAY.

 
SOLVED
Go to solution
Worapoj P.
Regular Advisor

How to configure sendmail 8.9.3 to secure mail RELAY.

Dear All expertise,

Could you please to help me. Right now my site got a backlist from ORBS
(Open mail Relay Blacklist), that my mail Relay(runing Sendmail) can be
produced junk mail or spam mail from other site. After that I upgrade
Sendmail from 8.8.6 to 8.9.3 by applied patch PHNE_18546 but I don't
how to configure them to receive/relay from only one host(one IP),
only one domain and refuse for other host and other domain.


Thank you very much for you help.
Worapoj P.
For LOVE For Honor For Mankind
2 REPLIES 2
Kofi ARTHIABAH
Honored Contributor
Solution

Re: How to configure sendmail 8.9.3 to secure mail RELAY.

For the machine that you want to use as the relay, edit the file /etc/mail/access and insert the following line:

IP.ADD.RES.SS RELAY

where IP.ADD.RES.SS is the IP address of the host you want to relay for.

you could also insert the line:

mydomain.com RELAY

to relay from any host within mydomain.com.

I hope this helps. BTW you can find more information about the new features of sendmail at: http://www.sendmail.org/~ca/email/doc8.9/README.cf.html

cheers.
nothing wrong with me that a few lines of code cannot fix!
Worapoj P.
Regular Advisor

Re: How to configure sendmail 8.9.3 to secure mail RELAY.

Dear cheers,

Thank you very much for the suggestion, it is useful for me.

Worapoj P.
For LOVE For Honor For Mankind