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.

eMail relaying withe cPanel/WHM Cent OS

Discussion in 'E-mail Discussions' started by Web_Rob, Jun 2, 2009.

  1. Web_Rob

    Web_Rob Member

    Joined:
    Nov 30, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I have a server at The Planet that runs Cent OS with cPanel/WHM. It is using Exim as the mail transport.

    I am having a problem with gmail.com accounts relaying mail through my server.

    I would like to have only domains that I host be allowed to send mail through my server. How can I accomplish this?
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    Your server should not be an open relay by default. If it is, then something is wrong because that is not normal. You should check the logs and also may have to reinstall exim.
     
  3. acidstudioz

    acidstudioz Active Member

    Joined:
    Feb 13, 2006
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I am having the same problem, one user was sending out spam through the email server and the header from lines werent even from any domain names on the server how can we fix this.
     
  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
    Once a user authenticates to the server (either via POP or SMTP) they can send email. The email's reply-to and from headers don't necessarily need to point back to your domain. This is useful if the user has configured their mail client with multiple reply-to addresses and wants this particular email recipient to reply to another account (e.g. a personal gmail account).
     
  5. acidstudioz

    acidstudioz Active Member

    Joined:
    Feb 13, 2006
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Ok understandable ok see if you can help me out with this one. Even when i have SMTP tweak enabled on my server, a user has a perl script that connects to a database and sends massive amount through smtp which bypasses my 500 domain limit. what should i do
     
  6. 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
    Are you running SuExec on the server? If the script is running as user nobody (not SuExec) then the max emails per domain per hour will not be enforced.
     
Loading...

Share This Page