spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felic...@apache.org
Subject svn commit: r157226 - spamassassin/trunk/sa-learn.raw
Date Sat, 12 Mar 2005 03:58:34 GMT
Author: felicity
Date: Fri Mar 11 19:58:33 2005
New Revision: 157226

URL: http://svn.apache.org/viewcvs?view=rev&rev=157226
Log:
bug 4148: clear up the sa-learn POD to specify that --folders requires a type or at least
a second colon

Modified:
    spamassassin/trunk/sa-learn.raw

Modified: spamassassin/trunk/sa-learn.raw
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/sa-learn.raw?view=diff&r1=157225&r2=157226
==============================================================================
--- spamassassin/trunk/sa-learn.raw (original)
+++ spamassassin/trunk/sa-learn.raw Fri Mar 11 19:58:33 2005
@@ -341,7 +341,7 @@
     while (<F>) {
       chomp;
       next unless ($_);
-      if (/^(?:ham|spam):/) {
+      if (/^(?:ham|spam):\w*:/) {
         push ( @targets, $_ );
       }
       else {
@@ -579,10 +579,14 @@
 =item B<--folders>=I<filename>, B<-f> I<filename>
 
 sa-learn will read in the list of folders from the specified file, one folder
-per line in the file.  If the folder is prefixed with C<ham:> or C<spam:>,
+per line in the file.  If the folder is prefixed with C<ham:type:> or C<spam:type:>,
 sa-learn will learn that folder appropriately, otherwise the folders will be
 assumed to be of the type specified by B<--ham> or B<--spam>.
 
+C<type> above is optional, but is the same as the standard for
+ArchiveIterator: mbox, mbx, dir, file, or detect (the default if not
+specified).
+
 =item B<--use-ignore>
 
 Don't learn the message if a from address matches configuration file
@@ -1107,6 +1111,7 @@
 spamassassin(1)
 spamc(1)
 Mail::SpamAssassin(3)
+Mail::SpamAssassin::ArchiveIterator(3)
 
 E<lt>http://www.paulgraham.com/E<gt>
 Paul Graham's "A Plan For Spam" paper



Mime
View raw message