Ryan...

I've implemented this functionality by setting up "Ham" and "Spam" folders
on each user.  I've then instructed users that when a spam message reaches
them (one that got past SpamAssassin), they should move it to the "Spam"
folder.  When they are finished with a message that should be learned as
Ham, drop it into the "Ham" folder.

I then have cron jobs that are set up in the context of every user to run
sa-learn on the maildir of the Ham and Spam folders respectively.

This works fine for me, but:

1.  I have a low volume of users
2.  The users using this method are using IMAP
3.  I'm using maildir with Courier

However, you may be able to adapt this approach to your needs.  Just FYI. 
I would actually like to implement an email alias or three that POP3 users
can make use of for the same type of functionality.

--JM

Ryan Defelice said:
> My apologies if this has been discussed here before and eluded me.
>
> I'm trying to come up with a system to give the ability to use sa-learn
> to users who do not have shell access to their accounts on our mail
> server.  My initial thought was to have users forward spam and false
> positives to two per-user aliases ([EMAIL PROTECTED] and
> [EMAIL PROTECTED] ) and give everyone a .procmailrc file
> that runs sa-learn as appropriate for email forwarded to the aliases.
[snip]

Reply via email to