Zimbra Tricks
To run spamassassin manually under Zimbra, you have to setup some locations of files.
Example:
/opt/zimbra/libexec/sa-learn -p /opt/zimbra/conf/salocal.cf \ --dbpath /opt/zimbra/data/amavisd/.spamassassin \ --siteconfigpath /opt/zimbra/conf/spamassassin -L --dump
To clear out the bays filters and start over:
cd /opt/zimbra/data/amavisd mv .spamassassin .spamassassin.old # initial train zmtrainsa serrs@example.net ham zmtrainsa serrs@example.net spam
Restart postfix:
zmcontrol restart mta
Tweaking spam scores:
- Found the only place it seems to get picked up is /opt/zimbra/conf/spamassassin/local.cf
