How can I stop Sendmail?

Aziz

Verified User
Joined
Oct 4, 2004
Messages
125
I am trying to disable email sending from my server.

I stopped exim service, removed the file and emails are still being sent.

Even PHP mail function still works?!

Thanks,
 
The php mail function (and others) call exim directly through the sendmail alias. You can find the alias they use, and redirect it, so it's no longer a link to exim, but instead, for example, a link to /dev/null.

I'm not sure if this will cause the function to fail or not, but the mail won't be sent.

Jeff
 
Back
Top