Hi Everyone RH Linux 8.0 SpamAssassin 2.55 Procmail 3.22-7
I have two mailboxes set-up, one called ham and spam, and any messages wrongly identified by SpamAssassin are transferred (with complete headers) in to the appropriate box. I want to set-up a cron job to process these daily using sa-learn. 'sa-learn --spam --mbox spam -D' produces the following error :-( unable to open spam: at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ArchiveIterator.pm line 201. Full log to follow... debug: Score set 0 chosen. debug: running in taint mode? no debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/root/.spamassassin/user_prefs" for user prefs file debug: bayes: 1752 tie-ing to DB file R/O /root/.spamassassin/bayes_toks debug: bayes: 1752 tie-ing to DB file R/O /root/.spamassassin/bayes_seen debug: debug: Only 6 spam(s) in Bayes DB < 200 debug: bayes: 1752 untie-ing debug: bayes: 1752 untie-ing db_toks debug: bayes: 1752 untie-ing db_seen debug: Score set 0 chosen. debug: Initialising learner debug: Initialising learner unable to open spam: at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ArchiveIterator.pm line 201. debug: lock: 1752 created /root/.spamassassin/bayes.lock.paris.bim.1752 debug: lock: 1752 trying to get lock on /root/.spamassassin/bayes with 0 retries debug: lock: 1752 link to /root/.spamassassin/bayes.lock: link ok debug: bayes: 1752 tie-ing to DB file R/W /root/.spamassassin/bayes_toks debug: bayes: 1752 tie-ing to DB file R/W /root/.spamassassin/bayes_seen debug: bayes: 1752 untie-ing debug: bayes: 1752 untie-ing db_toks debug: bayes: 1752 untie-ing db_seen debug: bayes: files locked, now unlocking lock debug: unlock: 1752 unlink /root/.spamassassin/bayes.lock debug: bayes: 1752 untie-ing Learned from 0 messages. I know it sounds unlikely, but I'm sure this was working half an hour ago!! Line eight shows 6 Spams in the DB file - so it must have worked at one point! I'm sure it was all working until I added the cron job... again, sounds ridiculous, but I can't see what else has changed! Anyone else experienced this? Thanks Gareth Oxfordshire, UK ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk