View Single Post
  #17 (permalink)  
Old 10-31-2006, 01:04 AM
inigoml inigoml is offline
Project Contributor
 
Posts: 110
Smile Training spam from command line

Your command should be something kile this (zmtrainsa inspired):

From your spam folder, create a spam index file:
ls > spam.index

And then, as zimbra user::
sa-learn -p /opt/zimbra/conf/salocal.cf --dbpath ${zimbra_home}/amavisd/.spamassassin/ -L --no-sync --spam -f spam.index --shotdots
Reply With Quote