assuming you are using sendmail add the ip address to /etc/mail/access like 192.168.1.57 REJECT and then do makemap hash /etc/mail/access < /etc/mail/access and that should be it or you could drop in an ipchains rule to prevent access to port 25 from that ip on the server (if you have ipchains in the kernel on that server) On Thu, 6 Sep 2001, Chuck wrote:
We are using a SuSE 70 machine as our corporate mail server. I need to prevent a single IP address from being able to send mail through the server. What is the easiest way to do this?
I need a flexible and fast method that can be done anytime, ie, on the fly when I am notified that an employee is being terminated.
Thanks, CC
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com