Results 1 to 10 of 10

Thread: Protect Against Spamming

  1. #1
    Member
    Join Date
    May 2008
    Posts
    14

    Default Protect Against Spamming

    How can I make sure that my users are not spamming through WHM? Is there a way to restrict the amount of emails being sent per hour or sent at a particular moment?

    Thanks!

  2. #2
    Member
    Join Date
    Jul 2007
    Location
    UK
    Posts
    76

    Default

    there is defiante a setting for that in the whm config settings,

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by bryzo View Post
    How can I make sure that my users are not spamming through WHM? Is there a way to restrict the amount of emails being sent per hour or sent at a particular moment?

    Thanks!
    The setting is in

    WHM -> Server Configuration -> Tweak Settings -> Mail

    listed as:

    The maximum each domain can send out per hour (0 is unlimited)

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Other things you may wish to do:

    - Use SuPHP and SuExec, then disable the nobody user's ability to send email via Tweak Settings
    - Enable the SMTP tweak in Security Center.

  5. #5
    Member
    Join Date
    Oct 2005
    Posts
    136

    Default

    You really need to set the max email per hour setting in WHM to something low. This will really prevent spamming. You also need to monitor outgoing mail to see how many emails scripts are sending out.

  6. #6
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    you might also want to add the 'Mail Headers' patch to PHP from easyapache, as when mail is sent from PHP it appends the script that sent it and the IP of the person who triggered the send to the mail headers - very useful for tracking down spammers

  7. #7
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    Quote Originally Posted by nickp666 View Post
    you might also want to add the 'Mail Headers' patch to PHP from easyapache, as when mail is sent from PHP it appends the script that sent it and the IP of the person who triggered the send to the mail headers - very useful for tracking down spammers
    Can you just confirm this is here:
    Main >> Service Configuration >> Exim Configuration Editor
    Mail
    Set the Sender: Header when the mail sender changes the sender (-f flag passed to sendmail).

    Thanks,

    - Vince

  8. #8
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    Quote Originally Posted by mambovince View Post
    Can you just confirm this is here:
    Main >> Service Configuration >> Exim Configuration Editor
    Mail
    Set the Sender: Header when the mail sender changes the sender (-f flag passed to sendmail).

    Thanks,

    - Vince
    No its under WHM > Apache Update > Exhaustive Options List

  9. #9
    Member
    Join Date
    Feb 2008
    Posts
    8

    Default

    Quote Originally Posted by nickp666 View Post
    you might also want to add the 'Mail Headers' patch to PHP from easyapache, as when mail is sent from PHP it appends the script that sent it and the IP of the person who triggered the send to the mail headers - very useful for tracking down spammers
    how can i edit 'Mail Headers'?
    can you provide the steps?

  10. #10
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by mhkstr View Post
    how can i edit 'Mail Headers'?
    can you provide the steps?
    In WHM, go to the Software section and click Apache Update.

    If prompted to upgrade, do so and after that has completed, try again.

    Proceed through the process until you get to step 5. Then click the button for exhaustive options list. Now, scroll down and check the box for "MailHeader" and then click the button at the bottom of the page to begin the compile process.

Similar Threads

  1. Spamming from the server.
    By desiguru in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 06-09-2010, 12:01 PM
  2. Spamming Ourselves ???
    By brendanrtg in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-07-2007, 02:28 PM
  3. Mail spamming
    By speedy in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-18-2005, 03:44 PM
  4. password protect and index protect users root www directory
    By cyberspirit in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-04-2003, 01:16 PM
  5. Spamming?
    By jmc67 in forum cPanel & WHM Discussions
    Replies: 11
    Last Post: 05-31-2003, 10:24 PM