On Sunday 21 August 2005 17:14, Eric A. Hall wrote:
> On 8/21/2005 1:59 AM, Forrest Aldrich wrote:
> > I just switched over to Cyrus IMAP - and it didn't occur to me I'd need
> > to change several ways I report spam, due to the mailstore format.
> >
> > I wonder whom else is using Cyrus IMAP here, and how you may be handling
> > this.
>
> I don't use sa-learn, but Cyrus mailstore is basically just a folder
> hierarchy that each contain individual messages, each of which are their
> own mbox file. Just read "*." into sa-learn and it should work on
> message-id the same as usual. Automatically moving the messages may be
> more of a problem.

You can use Perl IMAP routines to manipulate the messages pretty easily. ie 
connect as an admin user and then run sa-learn for each user on each of their 
Spam mail boxes.

I have a script which requires users to login and then it processes their 
mails.. I haven't tried logging in as admin yet, but it would be nice then I 
could run it as a cron job.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgp3E5UBcASSw.pgp
Description: PGP signature

Reply via email to