spamassassin - sa-learn and public

Tarjei Huse tarjei at
Sun Apr 3 16:21:37 EDT 2005

fre, 01,.04.2005 kl. 21.13 -0500, skrev Derrick J Brashear:
> On Fri, 1 Apr 2005, Craig White wrote:
> > On Fri, 2005-04-01 at 10:37 -0800, Norman Zhang wrote:
> >> Craig White wrote:
> >>> Now that I have a functional bayes system for spamassassin...does it
> >>> make sense to have a subfolder in the 'public' mailbox for people to
> >>> drag their low scoring spam into so sa-learn can add it to the bayes db
> >>> by cron based scripts?
> >>>
> >>> Is there a better way?
> >>>
> >>> If 'anyone' has lrs rights on public but lrsiwpcda rights on
> >>> public.SPAM-learn would they be able to do this?
> >>
> >> I've googled the following thread earlier. Perhaps it is helpful.
> >>
> >>
> > ----
> > it's interesting and I have done that in the past with uw-imap but I
> > never had any shared folders in uw-imap.
> >
> > I can't see the logic of automatically taking people's inbox
> > automatically as ham...
> My thought would be:
> 1) set up per-user bayesian filters
> 2) set up per-user spamtrain and hamtrain folders (someuser lrs, and 
> authenticate a cron job as someuser)
> 3) cron job reads your spam and ham hints, updates your bayesian filter.
> (and if you want to give it more access, flushes the folder)
> But I suspect this doesn't sufficiently meet your needs.

My experience is that public spam and ham folders is quite usefull as
they let everyone benefit from each others training. However, I've seen
that you need to clear out the spamfolder quite often as it becomes too
big to process.

I've never had problems with users accidently moving mails into the

I usually just do this manually, but I'm wondering if someone has a perl
oneliner of some kind for doing this via the imapinterface. 

> ---
> Cyrus Home Page:
> Cyrus Wiki/FAQ:
> List Archives/Info:
Tarjei Huse <tarjei at>

Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list