What's the easiest way to block all SMTP traffic from a centos server (with cPanel) and CSF installed?
I'm wanting to test a transferred site on a new server and don't want emails to be sent whilst it's being tested.
Block all email traffic
Re: Block all email traffic
Try removing port 25 from TCP_IN and TCP_OUT for both IPv4 and IPv6.
Re: Block all email traffic
Thanks for the tip. I might use an iptables rule to reject mail instead and just delete it when I'm finished.