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. Regards Ingo
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
On 31.10.2010, at 16.40, Ingo Thierack wrote:> is it somehow possible to use sa-learn on sdbox-mailboxes?Use doveadm fetch to extract the mails. http://wiki2.dovecot.org/Tools/Doveadm/Search has example how to go through all messages in a mailbox.
Andrzej Adam Filip
2010-Nov-01 18:06 UTC
[Dovecot] sa-learn and IMAP [Was: sdbox-format and sa-learn(spamassassin)]
Ingo Thierack <i.thierack at iwt-promotion.com> wrote:> 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.Have you considered asking for IMAP iterator for spamassassin? [ e.g. based on Net::IMAP::Simple perl module] It will not be the fast way but it would be optimal long term solution (IMHO). -- [pl>en: Andrew] Andrzej Adam Filip : anfi at onet.eu The health of a democratic society may be measured by the quality of functions performed by private citizens. -- Alexis de Tocqueville