Checks the message headers for the DSPAM-Confidence tag, and acts on the confidence values.
The quarantined files in /var/dspam/mail/dspam.mbox tend to grow large, and generally messages which are tagged at 58% and above are true spam.
These files can be deleted.
So the modifications to archive mails in this patch does these things:
1) New option: spam_confidence
2) Command line flag: --spam=NUM
3) Sets minimum date >= 0 (instead of 1), so I can delete messages within the day
4) in should_archive, does the check between the message spam confidence and the option spam confidence threshold
I can then cronjob archivemail to clear off all the true spams, and this works well.
BTW, thanks for this utility.
yk.
Patch to allow archivemail to filter DSPAM messages.