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!

How can I re-scan email folders after activating SA Spam Box?

Discussion in 'E-mail Discussion' started by Kent Brockman, Sep 18, 2015.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Jan 20, 2008
    Likes Received:
    Trophy Points:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Hello guys. I just received a domain transfered with hundreds of email accounts used via webmail, it had SpamAssassin Spam Box inactive, and contained LITERALLY THOUSANDS (65k) spam messages in the new/cur folders of EVERY account.
    I activated SpamAssassin Spam Box and it is doing a good job moving incoming spam to spam folder, but...

    1) How can I re-scan the existing email accounts to move previous spam to the spam folder?
    2) How can I schedule an auto-expunge of spam folders task to avoid storing hundreds of megabytes of spam?

    Hope you can help.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    1. There are no native features that will scan email that's already been delivered to the inbox. You may need to search the email through the command line for specific lines of text in the header (e.g. Spam Status) and remove any matches. This third-party URL may help:

    2. You can enable the "Auto Delete SPAM" option via "cPanel >> Apache SpamAssassion".

    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