Re: Exmh-users Digest, Vol 40, Issue 1

Matthew Hardy <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
Hi Jason:

Thanks very much for your rapid respose.  I would like to try to  
implement the solution
listed on the SpamAssassin user site.  I found the following:

if sa-learn is called without a target (e.g. for stdin input),
the message is warned:

archive-iterator: invalid (undef) format in target list, 2
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ArchiveIterator.pm
line 727, <STDIN> line 1.

A simple solution right now is to specify '-' as the target when  
using stdin.

OBS: 3.1.8 is not available in bugzilla yet.

In my case, the error message states that the error is on line 455.   
Can you advise on
how to achieve the proposed solve: "a simple solution right now is to  
specify '-' as the target when using stdin"?


On Jun 18, 2007, at 12:00 PM, [email protected] wrote:

> Send Exmh-users mailing list submissions to
> 	[email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www.redhat.com/mailman/listinfo/exmh-users
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
>
> You can reach the person managing the list at
> 	[email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Exmh-users digest..."
> Today's Topics:
>
>    1. Problem with sa-learn in exmh 2.7.2 (Matthew Hardy)
>    2. Re: Problem with sa-learn in exmh 2.7.2  (Justin Mason)
>
> From: Matthew Hardy <[email protected]>
> Date: June 18, 2007 9:40:21 AM EDT
> To: [email protected]
> Subject: Problem with sa-learn in exmh 2.7.2
> Reply-To: Discussion list for EXMH users <[email protected]>
>
>
> Mon Jun 18 09:30:59 EDT 2007
>
> The ArchiveIterator perl module is producing an error message.  I
> tried to find a solution with the SpamAssassin user group.  There
> was some user correspondence on this bug, but the proposed patch
> already seems to be incorporated as of SpamAssassin version
> 3.1.8.
>
> My system is a Mac PowerBook G4 running OS X v 10.4.9.  I have
> exmh 2.7.2 with nmh 1.2 (+ spamassassin v 3.2.0) installed and
> working fine in all other respects.  It seems to be a problem
> with the ArchiveIterator not recognizing the standard input from
> within exmh.  Could someone tell me whether sa-learn is still
> functioning?  I would be grateful for any advice.  The exmh log
> follows.
>
> 09:04:55 (3.153) Bogo spam
> 09:04:55 (0.005) Marking 1 msg as SPAM
> 09:04:55 (0.032) Bogo {spamprog="sa-learn --spam",} message=\"1332\",
> action=\"refile\"
> 09:04:55 (0.018) exec {sa-learn --spam </Users/hardy/Mail/inbox/1332}
> 09:05:06 (10.770) Learned tokens from 1 message(s) (1 message(s)  
> examined)
> archive-iterator: invalid (undef) format in target list, 2 at
> /Library/Perl/5.8.6/Mail/SpamAssassin/ArchiveIterator.pm line 455,  
> <STDIN>
> line 1.
> 09:05:06 (0.018) Bogo refile spam to junk
> 09:05:06 (0.003) => junk
> 09:05:06 (0.007) {cur: 1332 => }
> 09:05:06 (0.001) Writing /Users/hardy/Mail/inbox/.mh_sequences
> 09:05:06 (0.051)
> 09:05:06 (0.034) Changes pending; End of folder
>
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Matthew P. Hardy, PhD                	Population Council
> Senior Scientist & Adjunct Faculty	The Rockefeller University
> Tele. 	(212) 327-8754                  1230 York Ave.
> FAX  	(212) 327-7678			New York, NY  10021
> Skype   (213) 984-4962 or hardymp (online)
> e-mail  [email protected]
> Web	www.popcouncil.org/staff/bios/Hardy_M/hardy_m.html
>
>
>
>
>
>
>
> From: [email protected] (Justin Mason)
> Date: June 18, 2007 10:42:33 AM EDT
> To: Discussion list for EXMH users <[email protected]>
> Subject: Re: Problem with sa-learn in exmh 2.7.2
> Reply-To: Discussion list for EXMH users <[email protected]>
>
>
>
> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5336 is
> the bug.  I suggest asking there...
>
> --j.
>
> Matthew Hardy writes:
>> Mon Jun 18 09:30:59 EDT 2007
>>
>> The ArchiveIterator perl module is producing an error message.  I
>> tried to find a solution with the SpamAssassin user group.  There
>> was some user correspondence on this bug, but the proposed patch
>> already seems to be incorporated as of SpamAssassin version
>> 3.1.8.
>>
>> My system is a Mac PowerBook G4 running OS X v 10.4.9.  I have
>> exmh 2.7.2 with nmh 1.2 (+ spamassassin v 3.2.0) installed and
>> working fine in all other respects.  It seems to be a problem
>> with the ArchiveIterator not recognizing the standard input from
>> within exmh.  Could someone tell me whether sa-learn is still
>> functioning?  I would be grateful for any advice.  The exmh log
>> follows.
>>
>> 09:04:55 (3.153) Bogo spam
>> 09:04:55 (0.005) Marking 1 msg as SPAM
>> 09:04:55 (0.032) Bogo {spamprog="sa-learn --spam",} message=\"1332\",
>> action=\"refile\"
>> 09:04:55 (0.018) exec {sa-learn --spam </Users/hardy/Mail/inbox/1332}
>> 09:05:06 (10.770) Learned tokens from 1 message(s) (1 message(s)  
>> examined)
>> archive-iterator: invalid (undef) format in target list, 2 at
>> /Library/Perl/5.8.6/Mail/SpamAssassin/ArchiveIterator.pm line 455,  
>> <STDIN>
>> line 1.
>> 09:05:06 (0.018) Bogo refile spam to junk
>> 09:05:06 (0.003) => junk
>> 09:05:06 (0.007) {cur: 1332 => }
>> 09:05:06 (0.001) Writing /Users/hardy/Mail/inbox/.mh_sequences
>> 09:05:06 (0.051)
>> 09:05:06 (0.034) Changes pending; End of folder
>>
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Matthew P. Hardy, PhD                	Population Council
>> Senior Scientist & Adjunct Faculty	The Rockefeller University
>> Tele. 	(212) 327-8754                  1230 York Ave.
>> FAX  	(212) 327-7678			New York, NY  10021
>> Skype   (213) 984-4962 or hardymp (online)
>> e-mail  [email protected]
>> Web	www.popcouncil.org/staff/bios/Hardy_M/hardy_m.html
>>
>>
>>
>> _______________________________________________
>> Exmh-users mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/exmh-users
>
>
>
>
> _______________________________________________
> Exmh-users mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/exmh-users

_______________________________________________
Exmh-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.