Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Someone Sending Spam Over My Server localrelay

Discussion in 'E-mail Discussion' started by dortgendizayn, Nov 4, 2014.

  1. dortgendizayn

    dortgendizayn Member

    Joined:
    Mar 2, 2013
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,
    for example my main domain is root.domain.com
    i can access whm root.domain.com:2086
    and there are users like user1, user2, user3

    i've installed csf but i want to block local relay , and open mail auth
    because server sending spam mails above user1@root.domain.com
    and there isn't an email like this probably its a way for local email.

    so there are lots of mails in queue on my mail server and user1@root.domain.com traying
    to send spam mail lots of people.

    how to block this email sending ?

    it doesn't needed i can turn of completly localmail sending
    only domains can be send with auth its enough.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Have you checked to verify that it's not a PHP script installed on that account being used to send email? What do you see in the message headers of the SPAM messages?

    Also, the following document is worth checking out:

    cPanel - Prevent Email Abuse

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dortgendizayn

    dortgendizayn Member

    Joined:
    Mar 2, 2013
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes i did most of things that link you've shared ,
    by the way mails not delivered right now
    spam mails in queue or frozen.

    how can i block user1@root.domain.biz to sending email?

    also i haven't opened an email like this and there is no way to reach inbox.
     
  4. dortgendizayn

    dortgendizayn Member

    Joined:
    Mar 2, 2013
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Date:
    Tue, 04 Nov 2014 22:34:26 +0200
    From:
    user1@root.domain.com
    To:
    multiple emails here - Removed -
    Subject:
    Coagulated albumin: No liquefaction.
    Message-Id:
    <E1Xlko6-0000WW-1Q@root.domain.com>
    Received:
    from user1 by root.domain.com with local (Exim 4.82)
    (envelope-from <user1@root.domain.com>)
    id 1Xlko6-0000WW-1Q; Tue, 04 Nov 2014 22:34:26 +0200
     
    #4 dortgendizayn, Nov 4, 2014
    Last edited by a moderator: Nov 4, 2014
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    That looks like part of the message, but not the message header. Are you able to view the header of a message in the queue? Did you review the account's home directory and below to see if any scripts have the ability to send out email?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. dortgendizayn

    dortgendizayn Member

    Joined:
    Mar 2, 2013
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Okay its related php mail() funciton is enabled. When i disabled mail() function for php it worked.
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Keep in mind that will disable the ability for any PHP script on your server to use the "mail" function.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice