View Single Post
  #15 (permalink)  
Old 11-05-2007, 12:33 PM
mmorse mmorse is offline
Moderator
 
Posts: 6,237
Default

Same feeling, but I currently do not enable it for the people I support because I can't always monitor their system's as closely/react as fast if there are problems or something.

To enable:

uncomment a line in amavisd.conf.in
#$dspam = '/opt/zimbra/dspam/bin/dspam';

restart zimbra or as/av

check the crontab -e to see if this got uncommented (if not uncomment)
-it's the training
# Dspam cleanup
#
#0 1 * * * find /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.sig/ -type f -name \*sig -mtime +7 -exec rm {} \; > /dev/null 2>&1
#8 4 * * * /opt/zimbra/dspam/bin/dspam_logrotate -a 60 /opt/zimbra/dspam/var/dspam/system.log
#8 8 * * * /opt/zimbra/dspam/bin/dspam_logrotate -a 60 /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.log

Quote:
Originally Posted by hlribeiro
If you zimbra version is <= 4.5.5, you will also need to uncomment the dspam lines in /opt/zimbra/bin/zmtrainsa. The new zmtrainsa script in 4.5.6 have a bug and doesn't learn from dspam.

Bug 18153 - zmtrainsa not learning from dspam when it's enabled

a comment on zmtrainsa script lines 45 and 54 was enough for me for the cron jobs to work. Unafortunely, didn't work for manual training
that might be 35/45 now though i'm not sure
Reply With Quote