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/09/16 01:25:02 UTC

[Bug 5101] New: sa-learn --mbx seems to be broken

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

           Summary: sa-learn --mbx seems to be broken
           Product: Spamassassin
           Version: 3.1.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Learner
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: ler@lerctr.org


sa-learn --mbx --spam --showdots /path/to/file

complains about missing file /path/to/file./path/to/file

and also using a < redirect to the file complains about 
a /tmp/file./tmp/file missing. 

I've made available my file at http://www.lerctr.org/~ler/FN

I'm willing to test a patch as well.

I'm using the FreeBSD port, but I don't believe that should matter. 

Thanks!



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

[Bug 5101] [review] sa-learn --mbx seems to be broken

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


spamassassin@dostech.ca changed:

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




------- Additional Comments From spamassassin@dostech.ca  2006-09-29 23:41 -------
[dos@FC5-VPC 3.1]$ svn ci -m "bug 5101: fix bug in mbx code introduced in a
backport of 3.2 AICache code"
Sending        lib/Mail/SpamAssassin/ArchiveIterator.pm
Sending        lib/Mail/SpamAssassin/Constants.pm
Transmitting file data ..
Committed revision 451553.



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

[Bug 5101] [review] sa-learn --mbx seems to be broken

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





------- Additional Comments From diadian@gmail.com  2006-09-18 05:58 -------
I am having the same problem on Linux (White Box Enterprise Linux 4.3).

I just upgraded from SA 3.1.0 to 3.1.5.  Sa-learn was working in 3.1.0.

[root@mail vmoran]# sa-learn --spam --mbx ./spambox
archive-iterator: unable to open ./spambox../spambox: No such file or directory
[root@mail vmoran]# ls spambox
spambox
[root@mail vmoran]# file spambox
spambox: MBX mail folder
[root@mail vmoran]#     



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

[Bug 5101] [review] sa-learn --mbx seems to be broken

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


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|sa-learn --mbx seems to be  |[review] sa-learn --mbx
                   |broken                      |seems to be broken
  Status Whiteboard|                            |needs 2 votes
   Target Milestone|Undefined                   |3.1.6




------- Additional Comments From felicity@apache.org  2006-09-15 23:52 -------
I'll be putting up a patch in a minute.  The problem is that JM backported a
bunch of AICache stuff from 3.2, which includes this bug in the mbx code.  Since
no one using mbx is currently running 3.2, apparently, we never noticed it. :(



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

[Bug 5101] [review] sa-learn --mbx seems to be broken

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





------- Additional Comments From diadian@gmail.com  2006-10-04 08:02 -------
Thank you for the patch.  Its working again.



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

[Bug 5101] [review] sa-learn --mbx seems to be broken

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





------- Additional Comments From ler@lerctr.org  2006-09-15 23:59 -------
this patch appears to fix it.  I'm going to send-pr it to the SpamAssassin 
maintainer for the FreeBSD port as a stopgap till 3.1.6 is released (unless 
that will be in a few days (doubtful :) ) 





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

[Bug 5101] [review] sa-learn --mbx seems to be broken

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





------- Additional Comments From felicity@apache.org  2006-09-15 23:53 -------
Created an attachment (id=3695)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3695&action=view)
suggested patch

I committed this to 3.2 as:

Sending        SpamAssassin/ArchiveIterator.pm
Sending        SpamAssassin/Constants.pm
Transmitting file data ..
Committed revision 446790.




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

[Bug 5101] [review] sa-learn --mbx seems to be broken

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes               |needs 1 vote




------- Additional Comments From spamassassin@dostech.ca  2006-09-18 06:15 -------
+1 on 3695

(In reply to comment #4)
> I am having the same problem on Linux (White Box Enterprise Linux 4.3).
> 
> I just upgraded from SA 3.1.0 to 3.1.5.  Sa-learn was working in 3.1.0.

Yeah, either apply the patch or wait for 3.1.6 to be released, hopefully
sometime in October.



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

[Bug 5101] [review] sa-learn --mbx seems to be broken

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


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 1 vote                |go for it




------- Additional Comments From jm@jmason.org  2006-09-29 11:01 -------
+1



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