Skip to content

Instantly share code, notes, and snippets.

@inetbiz
Last active April 9, 2016 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inetbiz/642140a31d5f22cd11c8 to your computer and use it in GitHub Desktop.
Save inetbiz/642140a31d5f22cd11c8 to your computer and use it in GitHub Desktop.
SpamAssassin SA_LEARN Cron Commands
0 0 * * * /usr/local/cpanel/3rdparty/bin/sa-learn -p /home/cp-user/.spamassassin/user_prefs --use-ignores --spam /home/cp-user/mail/domain.com/*/.Junk/{cur,new} > /dev/null 2>&1
0 0 * * * /usr/local/cpanel/3rdparty/bin/sa-learn -p /home/cp-user/.spamassassin/user_prefs --use-ignores --ham /home/cp-user/mail/domain.com/*/.ham/{cur,new} > /dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment