How to ban user sending mail from sendmail.

mail2sacp

Well-Known Member
Feb 25, 2007
71
0
156
Hello,

I am facing mass mailing issue.

so how to ban perticular domain to send mail using sendmail command and mail functions?

can i disable using .htaccess?

or anything else?

Thanks
 

nerbonne

Well-Known Member
Aug 19, 2007
52
1
58
Maybe you should change their passwords or possibly just delete their account alltogether. It's not worth having your provider shut down your entire server because of one client.

If they are using scripts located on the server, you can chmod the scripts to 000. IE, "chmod 000 /path_to_files/offending.file". Then they will not have permission to run that file.