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 2006/10/18 17:39:13 UTC

[Bug 5133] New: sa-learn gives archive-iterator errors, refuses to read mbox

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5133

           Summary: sa-learn gives archive-iterator errors, refuses to read
                    mbox
           Product: Spamassassin
           Version: 3.1.7
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Learner
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: kohster@northwestern.edu


I've got an mbox file that I created with spam messages from Mac Eudora.  I converted the line endings, 
and elm/pine can read the file just fine.  When I use the command

sa-learn --spam -f spam.txt --dbpath <path> --showdots

archive-iterator spews out an error for every line after the first From: line in the mbox file.

archive-iterator: unable to open Return-Path: <no...@ittns.northwestern.edu>: No such file or 
directory
archive-iterator: unable to open Received: by bt.ittns.northwestern.edu (CommuniGate Pro PIPE 4.3.9): 
No such file or directory
archive-iterator: unable to open   with PIPE id 1980863; Tue, 17 Oct 2006 14:36:28 -0500: No such file 
or directory

etc etc etc

You can get a copy of the troublesome mbox file at http://bt.ittns.northwestern.edu/spam.txt.gz.

I haven't tried sa-learn in a while, but I had the problem with 3.1.5.  I found Bug ID 5101 and upgraded 
to 3.1.7, but the problem persists.

Please let me know if you need more information.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5133] sa-learn gives archive-iterator errors, refuses to read mbox

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5133





------- Additional Comments From kohster@northwestern.edu  2006-10-18 08:54 -------
Sorry, I left off the --mbox switch in my example.  

I'm not sure what you mean by pointing out the -f option.  spam.txt is the mbox file, so that's what I'm 
pointing sa-learn at.  Again, this used to work.  What am I doing wrong now?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5133] sa-learn gives archive-iterator errors, refuses to read mbox

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5133





------- Additional Comments From felicity@apache.org  2006-10-18 08:59 -------
(In reply to comment #2)
> I'm not sure what you mean by pointing out the -f option.  spam.txt is the
mbox file, so that's what I'm 
> pointing sa-learn at.  Again, this used to work.  What am I doing wrong now?

I mentioned "-f" because in your command example you used -f:

"sa-learn --spam -f spam.txt ..."

So you're telling sa-learn to read spam.txt which will then specify the files
sa-learn should actually process.

Remove the -f.

BTW: in the future, please send issues like this to the users@ list first before
opening a ticket.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5133] sa-learn gives archive-iterator errors, refuses to read mbox

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5133


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From felicity@apache.org  2006-10-18 08:47 -------
(In reply to comment #0)
> sa-learn --spam -f spam.txt --dbpath <path> --showdots
> archive-iterator: unable to open Return-Path:
<no...@ittns.northwestern.edu>: No such file or 
> directory
> 
> Please let me know if you need more information.

$ man sa-learn
[...]
 -f file, --folders=file           Read list of files/directories from file
[...]

ie: read in the list of files/directories that sa-learn should be learning from
by reading in the file specified by -f.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5133] sa-learn gives archive-iterator errors, refuses to read mbox

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5133





------- Additional Comments From kohster@northwestern.edu  2006-10-18 09:12 -------
Ahhhh......all becomes clear.  Sorry for the false bug then.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.