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

    Joined:
    Sep 22, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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_ALLOWLOCAL = "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/KiemTra.vn/info/cur/*
    rm -rf /home/KiemTra/mail/KiemTra.vn/info/new/*


    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

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page