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.

Disabling single cpanel email account

Discussion in 'E-mail Discussions' started by zaslayer, Dec 6, 2013.

  1. zaslayer

    zaslayer Registered

    Joined:
    Dec 6, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi There,

    I work for a hosting provider. At the moment we have trouble with a single cpanel email account that is being used to relay spam. I know cpanel has no option to disable an account, but I do require a way to stop this account from sending spam, without disrupting the other email accounts for this specific cpanel account.

    Right now all I can do is delete spam email from the queue, but this is obviously not ideal. The spam origin is constantly changing, therefore blacklisting source IP's is of no use either. I have changed the password for the account a few times, but this does not help. I am however not sure if there is a service I should restart after the password change, in order to drop all authenticate connections to the server,so as to make the password change effective.

    Any advice appreciated.
     
  2. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Do you use like ConfigServer Security & Firewall - csf?

    If not you should look into this because does help block possible issues like that.

    Just a possible fix.
     
  3. zaslayer

    zaslayer Registered

    Joined:
    Dec 6, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi vlee,

    Thank you for the response. We do use csf. However in this case, I believe the spammer has managed to compromise the account and is in fact authenticating as that user thus csf blocking wont work in this case.
     
  4. vlee

    vlee Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    272
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Las Vegas, Nevada, United Stat
    cPanel Access Level:
    Root Administrator
    Maybe this will work and you will need to backup the use email if using IMAP. Delete the user email account make sure that there is no possible scripts on their website that maybe linking use email and mail server information.

    Then recreate the user email account and use a very strong password and use like !, # $ in the password.

    Just more thoughts for you.
     
  5. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    I would change that cPanel account's password and every email account's passwords. If the emails are sent from outside of the server that would stop it.
     
  6. zaslayer

    zaslayer Registered

    Joined:
    Dec 6, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    That is unnecessarily drastic.

    Surely if I change the password, and immediately after, restart exim and/or dovecot, it should kill all authenticated sessions to the server and force any new sessions to authenticate again? Therefore the spammers should bot be able to authenticate any longer as they do not have the new password? Am I missing something here?

    We make use of the password generator that always generates very random strong passwords.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page