Operating System - HP-UX
1827785 Members
3649 Online
109969 Solutions
New Discussion

Re: ips that send mail with sendmail

 
SOLVED
Go to solution
Carme Torca
Super Advisor

ips that send mail with sendmail

Hi,

Is it possible to known what ips use the sendmail of one server?. I want to known that to configure its mails another server and halt this one.

Thanks!
Carmen.
Users are not too bad ;-)
1 REPLY 1
Steven E. Protter
Exalted Contributor
Solution

Re: ips that send mail with sendmail

Shalom Carmen,

Better than that its possible to control it.

/etc/mail/access (location may vary with HP-UX.

192.168.0.94 RELAY
192.168.0.95 OK
192.168.0.96 REJECT 550


Then do an m4 compile.

http://www.hpux.ws/buildmail.hpux.text

There is some optional anti-spam stuff in there but the script is short and understandable.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com