You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/02/22 17:11:55 UTC
[Bug 4148] New: Either sa-learn --folders doesn't work or the man-page doesn't
http://bugzilla.spamassassin.org/show_bug.cgi?id=4148
Summary: Either sa-learn --folders doesn't work or the man-page
doesn't
Product: Spamassassin
Version: 3.0.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: spamassassin
AssignedTo: dev@spamassassin.apache.org
ReportedBy: bigsmoke@gmail.com
The sa-learn man page specifies the file argument for folders to hold one folder
per line with an optional ham: or spam: prefix.
However, Mail::SpamAssassin::ArchiveIterator.pm, on line 413, expects three
fields: $class, $format, and $rawloc. $format isn't even mentioned in the man
page and it would appear that the ham:/spam: prefixes don't seem all that optional
either. To make this line work, I need to change the lines in the --folders file
to something like "ham:dir:~/.maildir/My dir/cur/".
To fix it, I simply changed line 413 into:
my ($class, $rawloc) = split(/:/, $target, 3);
my $format = 'detect';
I haven't attached a diff, because I modified the original file ...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4148] Either sa-learn --folders doesn't work or the man-page doesn't
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4148
felicity@kluge.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |minor
Target Milestone|Future |3.1.0
------- Additional Comments From felicity@kluge.net 2005-02-22 08:55 -------
looking at the code, we need to modify "ham:path" to be "ham::path", or document
that and that "ham:dir:path" is what we really want.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4148] Either sa-learn --folders doesn't work or the man-page doesn't
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4148
felicity@kluge.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From felicity@kluge.net 2005-03-11 19:59 -------
fixed in trunk, r157226. documentation makes it more clear, etc.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.