The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to ban user sending mail from sendmail.

Discussion in 'E-mail Discussions' started by mail2sacp, Aug 19, 2007.

  1. mail2sacp

    mail2sacp Well-Known Member

    Joined:
    Feb 25, 2007
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. nerbonne

    nerbonne Well-Known Member

    Joined:
    Aug 19, 2007
    Messages:
    52
    Likes Received:
    1
    Trophy Points:
    6
    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.
     
Loading...

Share This Page