spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From comm...@spamassassin.apache.org
Subject [SpamAssassin Wiki] Updated: RemoteImapFolder
Date Sat, 19 Mar 2005 19:21:20 GMT
   Date: 2005-03-19T20:21:20
   Editor: DanKohn
   Wiki: SpamAssassin Wiki
   Page: RemoteImapFolder
   URL: http://wiki.apache.org/spamassassin/RemoteImapFolder

   Reorganized and added link+anchor to SingleUserUnixInstall

Change Log:

------------------------------------------------------------------------------
@@ -1,9 +1,12 @@
-= SpamAssassin Integration into your IMAP Folder =
+= Training SpamAssassin with a LearnAsSpam folder =
+
+The simplest use of IMAP is to give end-users a way to train on false positives with a Learn``As``Spam
folder.  A cron job with a command like {{{/usr/local/bin/fetchmail -a -s -n --folder LearnAsSpam
-m '$HOME/bin/sa-learn --spam' > /dev/null"}}} will do this.  More details are in the [wiki:Self:SingleUserUnixInstall#head-7fe60adb0e4464b90a6fe1b4c310b93fe36dccdf
IMAP section of SingleUserUnixInstall].
+
+= Running SpamAssassin on mail in your IMAP inbox =
 
 If you have Spamassassin working, but your main mailbox is on a remote Imap folder, you can
use Roger Binns' Isbg (Imap Spam Be Gone).
 The software can be found [http://www.rogerbinns.com/isbg/ here], and an introduction to
its use can be found at [http://www.stearns.org/doc/spamassassin-setup.current.html#isbg here].
 
-
 = SpamAssassin IMAP shared folders for groups of users =
 
 http://www.dmzs.com/tools/files/spam.phtml 
@@ -16,8 +19,7 @@
 
 There's also [http://da.andaka.org/Doku/imapspamfilter.html this] docu which might work,
YMMV.
 
-
-= Quick fetchmail hack to provide "Learn Ham" and "Learn Spam" folders =
+= Providing "Learn Ham" and "Learn Spam" folders that move but don't delete messages =
 
 I use SpamAssassin to filter mail as it comes through my MTA, before it hands the mail off
to my Cyrus IMAP server.  I wanted to provide my users a way to drag false-positives and false-negatives
from their Junk Mail or Inbox to another folder or folders.  The mail should be picked up
from that folder, learned, and then re-deposited in the "corrrect" folder, either inbox for
learned-ham or junk-mail for learned-spam.  For false-positives which had previously been
marked up as spam, the SpamAssassin markup should be removed so the "clean" message winds
up in the inbox.  In the end, this turns out to be a single-line fetchmail script for each
folder:
 

Mime
View raw message