|
|
#10 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,229 posts
Gave thanks: 19
Thanked 91 times
|
I did not 'take it the wrong way', Aj... was just playin with you!
John
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#11 (permalink) |
|
Registered User
Seasoned Poster
Joined in May 2003
75 posts
Gave thanks: 0
Thanked 0 times
|
A few issues while trying your approach.
In your cron section, it should be "scripts" not "script". Make sure you give execute permissions on learnspam as well while you are in the file manager. Do you know if this only works for the main account (SPAM and HAM) or do I have to modify the script to work in all my mail accounts? I'll let ya know what else I find ![]() Thanks for your effort. Agix |
|
|
|
|
|
#12 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,229 posts
Gave thanks: 19
Thanked 91 times
|
the script will search all mail on the domain (and subdomains too) looking for SPAM and HAM folders.
(and I changed the body of the message above - my directory is called 'script') John
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#13 (permalink) | |
|
Registered User
Seasoned Poster
Joined in May 2003
75 posts
Gave thanks: 0
Thanked 0 times
|
I am getting this error message :
ERROR: the Bayes learn function returned an error, please re-run with -D for more information Learned from 0 message(s) (1 message(s) examined). Froma quick google search, it appears I should Quote:
Update : I tried removing the other files in that directory except for the user_prefs file and still get that error message only during the learn portion of that script. ?? Somehow I already had 2 bayes files there. |
|
|
|
|
|
|
#14 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,229 posts
Gave thanks: 19
Thanked 91 times
|
Yes. It is most likely that there is some remnant of bayes database in there from the cpanel upgrade. That is why the script does not auto-delete spam. On corruption, the only solution is to purge the .spamassassin folder (except for user_prefs!) and run the job again. and again... until SA is 'learned'.
John
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#15 (permalink) |
|
Registered User
Seasoned Poster
Joined in May 2003
75 posts
Gave thanks: 0
Thanked 0 times
|
Well maybe I should take this to PM, up to you.
I added the '-D' like it suggested and this is the output Learning SPAM Processing /home/EDIT/mail/fewin.com/derek/SPAM debug: Score set 0 chosen. debug: running in taint mode? yes debug: Running in taint mode, removing unsafe env vars, and resetting PATH debug: PATH included '/usr/bin', keeping. debug: PATH included '/bin', keeping. debug: Final PATH set to: /usr/bin:/bin debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/home/EDIT/.spamassassin/user_prefs" for user prefs file debug: bayes: DB_File module not installed, cannot use Bayes debug: Score set 0 chosen. debug: Initialising learner debug: Initialising learner debug: Syncing Bayes journal and expiring old tokens... debug: bayes: DB_File module not installed, cannot use Bayes debug: Syncing complete. debug: Learning Spam debug: uri tests: Done uriRE debug: bayes: DB_File module not installed, cannot use Bayes debug: bayes: 2867 untie-ing I get that for each SPAM folder that it finds. I am trying to goggle some help. Thanks for your time. |
|
|
|
|
|
#16 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,229 posts
Gave thanks: 19
Thanked 91 times
|
what is in your .spamassassin folder?
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#18 (permalink) |
|
Registered User
Seasoned Poster
Joined in May 2003
75 posts
Gave thanks: 0
Thanked 0 times
|
Just an Update.
I finally decided that the problem was not on my end and gave surpass an e-mail. As it was, the DB_FILE module was not installed on the server that I was on. Support installed it and now I seam to be able to use it just fine. Thanks again. |
|
|
|