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!

Cron script set up per site to allow IMAP users to report spam and ham to spamassassin

Discussion in 'E-mail Discussion' started by digitsix, Mar 8, 2013.

  1. digitsix

    digitsix Registered

    Joined:
    Dec 17, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    I just finished a php script you can set up via cron that will automatically run sa-learn on each user's spam and ham report imap folders. The name of the report folders is completely configurable, you just have to make sure everyone uses the agreed upon spam report folders.

    The script also empties the report folders for each users every time it runs, so stuff doesn't pile up.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,571
    Likes Received:
    439
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. digitsix

    digitsix Registered

    Joined:
    Dec 17, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Thanks. Done :)
     
  4. MACscr

    MACscr Well-Known Member

    Joined:
    Sep 30, 2003
    Messages:
    193
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Did you submit it? I cant find it.
     
Loading...

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