Precise
08-27-2001, 02:53 AM
Hi,
Someone is spamming through our servers and I need to temp. kill SMTP access. How can I do this. I am on a UNIX box with CPanel installed.
Thanks,
Patrick
davidb
08-27-2001, 07:36 AM
Well, im not sure how cpanel operates. Your problem is that you are allowing open relay(very bad). Acually, if it runs qmail, I forget a little on how do do this, but I am pretty sure its run via inetd or xinetd. If you are running inetd, comment out the smtp part in /etc/inetd.conf and restart. If you are running xinetd, just comment it out in /etc/xinetd.conf, or some versions keep a file named qmail in /etc/xinetd.d/ just get the file out of there. If you are not running qmail or none of these work, if you have a firewall, block port 25
valkaryn
08-27-2001, 10:59 AM
from a unix command shell, logged in as the root user:
cat /var/run/sendmail.pid
it will print out a number
type: kill <that number>