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.

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

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

  1. digitsix

    digitsix Registered

    Joined:
    Dec 17, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. digitsix

    digitsix Registered

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

    MACscr Well-Known Member

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

Share This Page