[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Training SpamAssassin



On Mon, Jul 14, 2003 at 08:49:58AM +0100, Alec Melling wrote:
> 1. is there a way to get the shell to take me directly to the line in question 
There is but it's probably not worth knowing in this instance.

> 2. Does anybody know what could be the problem.
> 
> The full commandline session went as follows:
> 
> alec [at] linux:~> sa-learn --mbox --spam /home/alec/Mail/.spam.directory/YesSpam
> unable to open /home/alec/Mail/.spam.directory/YesSpam:  at 
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ArchiveIterator.pm line 201.
> Learned from 0 messages.

Yep, you need to learn Perl 'die' statements :)

The 'real' error is that it's unable to open 
/home/alec/Mail/.spam.directory/YesSpam - check the file exists, and the
permissions on it.

Cheers,

Alex.

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.