On 08/21/2005 07:59 AM, Forrest Aldrich wrote: > I wonder whom else is using Cyrus IMAP here, and how you may be handling > this.
I'm using Exim 4.5 and Cyrus IMAP 2.2. SpamAssassin is invoked with ExiScan-ACLs. To train SA, every user has 2 IMAP folders, for Ham and Spam, where he/she can copy false negatives (Spam) or false positives (Ham, barely happens at all). Every night a script is executed via cron to feed the new mails in these folders into sa-learn (and dspam for that matter) on a per-user basis. Basically it's just a dirty hack with "find" to get the localpart and domainpart of the user (I use the virtual domains feature of Cyrus imapd 2.2) but it works. The script could easily be modified to get these information from another data store, e. g. a RDBMS like MySQL or PostgreSQL. After sa-learn has been trained, the mails are deleted from the folders with ipurge. -- Regards Jochen