Hi! I'm asking this because I didn't find a resource on this: Does ISPConfig already have cronjobs or similar to keep spam assassin's rules up-to-date and to automatically learn? Like "sa-update" and "sa-learn"? Thank you!
ispconfig uses amvisd and amavisd takes care of spam learning in spamassassin automatically, and sa-learn is automatically executed by the spamassasin cronjob of the linux os, so no need to do that in ispconfig a second time.
Hi till, Thank you for the reply. But does amavisd-new also learn from the "ham" that I moved to the junk-folder? Or would I have to set up a cronjob for this? like Code: 0 * * * * /usr/bin/sa-learn --spam --dbpath /var/lib/amavis/.spamassassin/ --dir /var/vmail/*/*/Maildir/.Junk/*/* (source: http://adminforge.de/mailserver/spamassassin/spamassassin-autolearn-cronjob-einrichten/)
amavis learns spam and ham automatically based on its score /autolearn faeture of amavis). when you want to trauin spam manually based on its imap folder locations, then you will have to setup a cronjob for it. But be careful, dont train spam twice. The sa-learn job has to be run as amvis user, If I remember correctly.