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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Still spam after suspended account?

Discussion in 'E-mail Discussions' started by tquang, Jul 1, 2014.

  1. tquang

    tquang Member

    Sep 22, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    If you have problem like as my title of this thread, you same me. And here my step prevent a bit (maybe ok with me but not with you, I'm sorry if so)

    S1: Install CSF for CPanel
    Edit /etc/csf/csf.conf:
    SMTP_BLOCK = "1"
    SMTP_PORTS = "25,465,587"
    SMTP_ALLOWUSER = "cpanel"
    SMTP_ALLOWGROUP = "mail,mailman"

    Then reload CSF: csf -r

    S2: Remove all mail data of account suspended, example with user name KiemTra
    rm -rf /home/KiemTra/mail/*
    rm -rf /home/KiemTra/mail/*

    S3: Remove all mail data of exim (I think in spam case, we want to remove all for reduce load server)
    rm -rf /var/spool/exim/input/*
    rm -rf /var/spool/exim/msglog/*

    Done, sorry if i'm wrong. Thanks
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Typically, you can restart Exim after suspending an account to prevent additional SPAM from sending out. Note that removing all messages in your queue is not a good idea because there is likely legitimate email in the mail queue.

    Thank you.

Share This Page