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!

Still spam after suspended account?

Discussion in 'E-mail Discussion' 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 Technical Support Community Manager
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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