You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Larry Rosenman <le...@lerctr.org> on 2006/09/15 17:03:46 UTC

Sa-learn / mbx?

Is there a problem with 3.1.5 (FreeBSD port) and sa-learn --mbx?

I get the following:

 /usr/local/bin/sa-learn --spam --mbx --showdots /home/ler/Mail/SA/FN
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory

Learned tokens from 0 message(s) (0 message(s) examined)

This worked in 3.1.4....

Ideas?



RE: Sa-learn / mbx?

Posted by Larry Rosenman <le...@lerctr.org>.
I found the BZ.

Bug 5101

Thanks...
PS: I'm willing to test patch(es).

LER
 


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683             E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
-----Original Message-----
From: Larry Rosenman [mailto:ler@lerctr.org] 
Sent: Friday, September 15, 2006 5:22 PM
To: 'Theo Van Dinter'; users@spamassassin.apache.org
Subject: RE: Sa-learn / mbx?

It's a file.

Where's the BZ, and I'll create a bug.  It did seem to break when I put
3.1.5 on.

(This is in a nightly update script, that's been running for months).

I'll attach the MBX to the BZ ticket. 

 


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683             E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
-----Original Message-----
From: Theo Van Dinter [mailto:felicity@apache.org] 
Sent: Friday, September 15, 2006 5:19 PM
To: users@spamassassin.apache.org
Subject: Re: Sa-learn / mbx?

I think you're going to have to give us more information...

On Fri, Sep 15, 2006 at 05:11:50PM -0500, Larry Rosenman wrote:
> $ sa-learn --mbx --showdots --spam /home/ler/Mail/SA/FN

Is FN a directory or a file?

> archive-iterator: unable to open
/home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
> No such file or directory

It seems that the path is being doubled for some reason.

> /tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No 
> such file or directory

Hrm.  Yeah, I'd say there's probably a SA bug somewhere doubling the paths
for no good reason.  There was a fairly large ArchiveIterator change made
between
3.1.4 and 3.1.5 (which in hindsight we probably shouldn't have done, but
different discussion,) which could have caused it.

If you can open a bugzilla ticket about it, please include your examples,
and if possible an mbx file that we can test against.  (I don't believe any
of the devs used mbx, so ...)

Thanks.

--
Randomly Selected Tagline:
do {nothing} while (HearFromMe==0)



RE: Sa-learn / mbx?

Posted by Larry Rosenman <le...@lerctr.org>.
It's a file.

Where's the BZ, and I'll create a bug.  It did seem to break when I put
3.1.5 on.

(This is in a nightly update script, that's been running for months).

I'll attach the MBX to the BZ ticket. 

 


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683             E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
-----Original Message-----
From: Theo Van Dinter [mailto:felicity@apache.org] 
Sent: Friday, September 15, 2006 5:19 PM
To: users@spamassassin.apache.org
Subject: Re: Sa-learn / mbx?

I think you're going to have to give us more information...

On Fri, Sep 15, 2006 at 05:11:50PM -0500, Larry Rosenman wrote:
> $ sa-learn --mbx --showdots --spam /home/ler/Mail/SA/FN

Is FN a directory or a file?

> archive-iterator: unable to open
/home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
> No such file or directory

It seems that the path is being doubled for some reason.

> /tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No 
> such file or directory

Hrm.  Yeah, I'd say there's probably a SA bug somewhere doubling the paths
for no good reason.  There was a fairly large ArchiveIterator change made
between
3.1.4 and 3.1.5 (which in hindsight we probably shouldn't have done, but
different discussion,) which could have caused it.

If you can open a bugzilla ticket about it, please include your examples,
and if possible an mbx file that we can test against.  (I don't believe any
of the devs used mbx, so ...)

Thanks.

--
Randomly Selected Tagline:
do {nothing} while (HearFromMe==0)


Re: Sa-learn / mbx?

Posted by Theo Van Dinter <fe...@apache.org>.
I think you're going to have to give us more information...

On Fri, Sep 15, 2006 at 05:11:50PM -0500, Larry Rosenman wrote:
> $ sa-learn --mbx --showdots --spam /home/ler/Mail/SA/FN

Is FN a directory or a file?

> archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
> No such file or directory

It seems that the path is being doubled for some reason.

> /tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
> file or directory

Hrm.  Yeah, I'd say there's probably a SA bug somewhere doubling the paths for
no good reason.  There was a fairly large ArchiveIterator change made between
3.1.4 and 3.1.5 (which in hindsight we probably shouldn't have done, but
different discussion,) which could have caused it.

If you can open a bugzilla ticket about it, please include your examples, and
if possible an mbx file that we can test against.  (I don't believe any of the
devs used mbx, so ...)

Thanks.

-- 
Randomly Selected Tagline:
do {nothing} while (HearFromMe==0)

RE: Sa-learn / mbx?

Posted by Larry Rosenman <le...@lerctr.org>.
Neither way works:
$ sa-learn --mbx --showdots --spam /home/ler/Mail/SA/FN
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory
archive-iterator: unable to open /home/ler/Mail/SA/FN./home/ler/Mail/SA/FN:
No such file or directory

Learned tokens from 0 message(s) (0 message(s) examined)
$ sa-learn --mbx --spam --showdots < /home/ler/Mail/SA/FN
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory
archive-iterator: unable to open
/tmp/.spamassassin1378GH7mLltmp./tmp/.spamassassin1378GH7mLltmp: No such
file or directory

Learned tokens from 0 message(s) (0 message(s) examined)
$ 


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683             E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
-----Original Message-----
From: Larry Rosenman [mailto:ler@lerctr.org] 
Sent: Friday, September 15, 2006 4:37 PM
To: mouss@netoyen.net
Cc: users@spamassassin.apache.org
Subject: RE: Sa-learn / mbx?

I hadn't needed to in previous releases, and MBOX format seems(!) to
work....

I'll re-verify.

LER
 


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683             E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 -----Original
Message-----
From: mouss [mailto:usebsd@free.fr]
Sent: Friday, September 15, 2006 3:25 PM
Cc: users@spamassassin.apache.org
Subject: Re: Sa-learn / mbx?

Larry Rosenman wrote:
> Is there a problem with 3.1.5 (FreeBSD port) and sa-learn --mbx?
>
> I get the following:
>
>  /usr/local/bin/sa-learn --spam --mbx --showdots /home/ler/Mail/SA/FN
>   
did you try

 /usr/local/bin/sa-learn --spam --mbx --showdots < /home/ler/Mail/SA/FN





RE: Sa-learn / mbx?

Posted by Larry Rosenman <le...@lerctr.org>.
I hadn't needed to in previous releases, and MBOX format seems(!) to
work....

I'll re-verify.

LER
 


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683             E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
-----Original Message-----
From: mouss [mailto:usebsd@free.fr] 
Sent: Friday, September 15, 2006 3:25 PM
Cc: users@spamassassin.apache.org
Subject: Re: Sa-learn / mbx?

Larry Rosenman wrote:
> Is there a problem with 3.1.5 (FreeBSD port) and sa-learn --mbx?
>
> I get the following:
>
>  /usr/local/bin/sa-learn --spam --mbx --showdots /home/ler/Mail/SA/FN
>   
did you try

 /usr/local/bin/sa-learn --spam --mbx --showdots < /home/ler/Mail/SA/FN




Re: Sa-learn / mbx?

Posted by mouss <us...@free.fr>.
Larry Rosenman wrote:
> Is there a problem with 3.1.5 (FreeBSD port) and sa-learn --mbx?
>
> I get the following:
>
>  /usr/local/bin/sa-learn --spam --mbx --showdots /home/ler/Mail/SA/FN
>   
did you try

 /usr/local/bin/sa-learn --spam --mbx --showdots < /home/ler/Mail/SA/FN