To do web site testing, how can I disable or block the Centos server to not send out emails.
Now, if I run in command line
I can send out emails. This is not good for website testing. I don't want to cause trouble to users of the site.
Is it something to do with iptables? Can anyone enlighten the way?
I installed Centos with minimum package. I think it's the qmail that does the delivery job
locate qmail /usr/share/logwatch/scripts/services/qmail /usr/share/logwatch/scripts/services/qmail-pop3d /usr/share/logwatch/scripts/services/qmail-pop3ds /usr/share/logwatch/scripts/services/qmail-send /usr/share/logwatch/scripts/services/qmail-smtpd