[Dovecot] sdbox-format and sa-learn(spamassassin)

Stan Hoeppner stan at hardwarefreak.com
Sun Oct 31 19:25:49 EET 2010


Ingo Thierack put forth on 10/31/2010 11:40 AM:
> Hello,
> 
> is it somehow possible to use sa-learn on sdbox-mailboxes?
> Maybe i can use dsync to "mirror" the mailboxes(only the spam-subfolder)
> to another
> location and convert it to mbox or maildir and act then on it with
> sa-learn?
> 
> I know the antispam-Plugin, but until now no success, to get it running.
> So I think about
> an way, to learn via sa-learn on an file which i can process.

Why not just create a public namespace and give it a location with type
mbox or maildir?  Enable ACL, add all your users.  Create an IMAP folder
in it called SPAM and have all your users put their spam in the shared
public SPAM folder.  When you think about it for a second, does each
user really need their own spam folder?

Now simply point sa-learn at this mbox file or maildir directory.

-- 
Stan


More information about the dovecot mailing list