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.

Block E-mail sender not created in server

Discussion in 'E-mail Discussions' started by lucascaleto, May 20, 2009.

  1. lucascaleto

    lucascaleto Member

    Joined:
    Dec 16, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi, how can i prevent to a user try using my smtp to send mail.
    using different sender like:
    juliana@hotmail.com

    i think this will prevent some atacks when the clients have virus in the computer and virus using smtp of my server .
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Only allow SMTP authenticated scripts to run on your server. function like php mail() does not require SMTP authentication.

    You can disable this function by preventing nobody user to send emails from WHM. Go to WHM -> Tweak settings -> check the checkbox "Prevent the user "nobody" from sending out mail to remote addresses"
     
  3. lucascaleto

    lucascaleto Member

    Joined:
    Dec 16, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    And to prevent smtp users dont exists
    for example. my client have the username and password pop/smtp account get from a virus


    and the virus try send mail using ther username and password but with another sender (the correct smtp/pop autentication data) , virus just change the from header. and dont use scripts
    how can i prevent this ?
     
  4. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Not sure you really can do that. The best option is to limit the max per hour and enable all of the extended logging. When they do start to send out you can easily track it down.
     
  5. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You can set the maximum emails per hour limit from WHM -> Tweak settings.
     
Loading...

Share This Page