[Spambayes] spurious errors on Linux

damian damian at science.nus.edu.sg
Fri Aug 1 07:22:26 EDT 2003


Hi,

I really need some help with spambayes. I tried to send my mail through,
however, there isn't any X-spam header. Any advice?

Thanks and rgds,
Damian

On Wed, 2003-07-30 at 03:47, Hirendra Hindocha wrote:
> Hi, 
> I'm running spambayes-1.0a4 on Redhat 9 + procmail + maildir format
> spamassassin. 
> 
> My procmail entry  reads like this - 
> 
> :0fw
> | /usr/bin/hammie.py -f -d -p $HOME/.hammiedb
> :0:
> * ^X-Spambayes-Classification: spam
> .list.spam_sb/
> 
> 
> The above filters email and works most of the time, but sometimes
> I get the following errors 
> 
> 
> /usr/bin/hammie.py: line 3: 
> : command not found
> /usr/bin/hammie.py: line 6: syntax error near unexpected token `
> '
> /usr/bin/hammie.py: line 6: `    spambayes.hammiebulk.main()
> '
> procmail: Program failure (2) of "/usr/bin/hammie.py"
> procmail: Rescue of unfiltered data succeeded
> 
> 
> Typically I'd assume that the above msg is generated as a result
> of '^M' in the hammie.py or the absence of a python interpreter. 
> But that isn't the case here ! 
> 
> The thing that stumps me is that it works some time. 
> 
> 
>   Total  Number Folder
>   -----  ------ ------
>  410159      11 /home/hiren/Maildir/.mbox/
>   20839       6 .list.spambayes/
>       0       1  ## procmail: Error while writing to "/usr/bin/hammie"
>       0       2  ## procmail: Program failure (2) of "/usr/bin/hammie"
>       0       3  ## procmail: Rescue of unfiltered data succeeded
> : command not found /usr/bin/hammie.py: line 3:
> '     0       3  ## /usr/bin/hammie.py: line 6: `    spambayes.hammie)
> '     0       3  ## /usr/bin/hammie.py: line 6: syntax error near une`
>   -----  ------
> 1565757     107
> 
> 
> For example, in the above procmail summary, the filter worked for
> most of the time but failed a few times with the above error. 
> 
> 
> Any suggestions ?
-- 
damian <damian at science.nus.edu.sg>




More information about the Spambayes mailing list