<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>167515</bug_id>
          
          <creation_ts>2007-02-18 19:27 0000</creation_ts>
          <short_desc>mail-filter/spamassassin-3.1.8 error in sa-learn</short_desc>
          <delta_ts>2007-04-15 11:54:21 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>art-gt@broomstick.com</reporter>
          <assigned_to>perl@gentoo.org</assigned_to>
          <cc>bugzilla@schoenhaber.de</cc>
    
    <cc>rklassen@mccscs.com</cc>

      

      
          <long_desc isprivate="0">
            <who>art-gt@broomstick.com</who>
            <bug_when>2007-02-18 19:27:19 0000</bug_when>
            <thetext>piping an email to sa-learn --spam now returns:
archive-iterator: invalid (undef) format in target list, 2 at /usr/lib/perl5/ven
dor_perl/5.8.8/Mail/SpamAssassin/ArchiveIterator.pm line 724, &lt;STDIN&gt; line 1.

Worked fine yesterday with 3.1.3

Reproducible: Always

Steps to Reproduce:
cat singlemail | sa-learn --spam
(or &quot;[|] [CTRL-W] sa-learn --spam&quot; in pine)

Actual Results:  
archive-iterator: invalid (undef) format in target list, 2 at /usr/lib/perl5/ven
dor_perl/5.8.8/Mail/SpamAssassin/ArchiveIterator.pm line 724, &lt;STDIN&gt; line 1.
Learned tokens from 1 message(s) (1 message(s) examined)


Expected Results:  
Learned tokens from 1 message(s) (1 message(s) examined)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>art-gt@broomstick.com</who>
            <bug_when>2007-02-18 20:53:51 0000</bug_when>
            <thetext>Testing further shows that this is a problem with the autodetect.  If specifying - (for stdin), it works.  If relying on autodetecting the input stream, it no longer does.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bugzilla@schoenhaber.de</who>
            <bug_when>2007-02-19 11:14:51 0000</bug_when>
            <thetext>I see the same message from sa-learn since upgrading SpamAssassin from 3.1.3 to 3.1.8.
Arthur&apos;s workaround of explicitly adding &quot;-&quot; to sa-learn&apos;s command line helps in my case too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ediap@users.sourceforge.net</who>
            <bug_when>2007-02-20 07:31:44 0000</bug_when>
            <thetext>This problem is already reported to upstream and the patch is ready:
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336

/ediap</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ian@gentoo.org</who>
            <bug_when>2007-02-25 12:39:09 0000</bug_when>
            <thetext>Fixed in 3.1.8-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mcummings@gentoo.org</who>
            <bug_when>2007-04-15 11:54:21 0000</bug_when>
            <thetext>*** Bug 127459 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>