var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
need to block email from an ip with cpanel
Ive got a red hat box running cpanel that keeps getting a lot of spam from the same ip.
i want to block all email from that ip address from getting through.
i dont care if i use cpanel to block it or not, but cpanel is on the server.
anyone got any ideas how i can block this crap?
iptables -A INPUT -p tcp -m tcp -s 18.104.22.168 --dport 25 -d 0/0 -j DROP
Do i need to reboot the mail server or anything after i input that?
No, the above command will block access from that IP dead.