I need a help to configure procmail to redirect messages tagged as SPAM to Junk folder.
My system configuration is:
And I tried to use the following configuration in procmail, but didn’t work:
- ^X-Spam-Status: Yes
It create files with a different name format, different file stucture and new directories cur:2,Sb , new:2,Sb and tmp:2,Sb
correct file name: 1244309351.24807_0.host:2,STc
wrong file name: msg.KAqi
A Maildir must end in a /, i.e. $MAILDIR/.Junk/
now all work perfectly!
now, you know how to teach the spamassassin by the client?
I don’t use spamassassin myself. Where I have installed it for servers, it’s been part of the amavis virus and spam filtering process.
> now, you know how to teach the spamassassin by the client?
Enable Bayes in SA, then create 2 folders (i.e., spam, nospam) on each user
inbox so they can drop messages there.
Then run “sa-learn --ham /path/to/imap/folder/nospam”
and “sa-learn --spam /path/to/imap/folder/spam”. You can put this task into
a cron task.
Bayesian filter needs at least thousand messages under /spam and /nospam in
order to be accurate.
I’d suggest to disable “autolearn”.