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.

Protect Against Spamming

Discussion in 'E-mail Discussions' started by bryzo, Jun 13, 2008.

  1. bryzo

    bryzo Member

    Joined:
    May 27, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    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. caeos

    caeos Well-Known Member

    Joined:
    Jul 18, 2007
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    UK
    there is defiante a setting for that in the whm config settings,
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    213
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Florida
    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. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    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. mambovince

    mambovince Well-Known Member

    Joined:
    Jan 15, 2005
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    London, UK
    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. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    No its under WHM > Apache Update > Exhaustive Options List
     
  9. mhkstr

    mhkstr Member

    Joined:
    Feb 29, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    how can i edit 'Mail Headers'?
    can you provide the steps?
     
  10. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page