|
|
#46 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,337 posts
Gave thanks: 23
Thanked 93 times
|
The cron job should work again, if not email support. Patrickb fixed it on my server.
The spam and ham folders don't work unless you run their contents through the learner, which is what the script does. The servers are 'autolearning' HAM right now. At least mine is. 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! |
|
|
|
|
|
#47 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Jun 2003
Lives in Denver
Hosted on D9
142 posts
Gave thanks: 4
Thanked 3 times
|
I got this from the cron this morning...
Code:
/bin/sh: /home/larvez/script/learnspam: bad interpreter: Permission denied
__________________
"In the end, everything will be fine - if it is not fine, it is not the end." PseudoSwedelarvez.com Dime9 |
|
|
|
|
|
#48 (permalink) | |
|
Destroyer of Evil Robots
Excelling Contributor
Joined in Oct 2003
Lives in Atlanta, GA
760 posts
Gave thanks: 17
Thanked 9 times
|
Quote:
clair |
|
|
|
|
|
|
#49 (permalink) |
|
Registered User
Fresh Surpasser
Joined in May 2003
14 posts
Gave thanks: 0
Thanked 0 times
|
I just completed all of the instructions on this 4-page thread, including a double-check of everything, including permissions.
Upon completion, I logged in to Horde. Log in page displays fine but when it executes log in, I now get the following error: Warning: main(Date/Calc.php): failed to open stream: No such file or directory in /usr/local/cpanel/base/horde/kronolith/lib/base.php on line 63 Fatal error: main(): Failed opening required 'Date/Calc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/local/cpanel/base/horde/kronolith/lib/base.php on line 63 Any ideas? Last edited by CJF; October 23rd, 2004 at 2:20 PM. |
|
|
|
|
|
#50 (permalink) |
|
Skittles
Super #1
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
6,665 posts
Gave thanks: 96
Thanked 190 times
|
Well it went through these folders twice so far (got 2 emails with the info on them), then all of a sudden it decides "No such file or directory".... nothing has changed....... any idea?
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people. |
|
|
|
|
|
#51 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Jun 2003
Lives in Denver
Hosted on D9
142 posts
Gave thanks: 4
Thanked 3 times
|
Test message.
Is it me, or did about 2 pages of this thread disappear?
__________________
"In the end, everything will be fine - if it is not fine, it is not the end." PseudoSwedelarvez.com Dime9 |
|
|
|
|
|
#52 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Jun 2003
Lives in Denver
Hosted on D9
142 posts
Gave thanks: 4
Thanked 3 times
|
Hmmm...
This thread seems to be a little flaky. Earlier today, I could only view the first 30 posts or so. There was no sign on the other 20. They're back now. Oh well.
__________________
"In the end, everything will be fine - if it is not fine, it is not the end." PseudoSwedelarvez.com Dime9 |
|
|
|
|
|
#53 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Jun 2003
Lives in Denver
Hosted on D9
142 posts
Gave thanks: 4
Thanked 3 times
|
Is there a way to modify the script so that it deletes mail from both the HAM and SPAM folders after it's been analyzed?
__________________
"In the end, everything will be fine - if it is not fine, it is not the end." PseudoSwedelarvez.com Dime9 |
|
|
|
|
|
#54 (permalink) | |
|
Destroyer of Evil Robots
Excelling Contributor
Joined in Oct 2003
Lives in Atlanta, GA
760 posts
Gave thanks: 17
Thanked 9 times
|
Quote:
I also wouldn't clean out the SPAM folder just because it is good to keep 500 spam messages ready to be re-learned in case the Spam Assassin databases become lost. However, this will clean out the file. Code:
#!/bin/sh
echo "Learning SPAM"
for FILE in `find $HOME -name SPAM -print`
do
echo "Processing $FILE"
sa-learn --spam --mbox $FILE
cat /dev/null > $FILE
done
echo "Learning HAM"
for FILE in `find $HOME -name HAM -print`
do
echo "Processing $FILE"
sa-learn --ham --mbox $FILE
cat /dev/null > $FILE
done
echo "Done"
This will remove it altogether. Code:
#!/bin/sh
echo "Learning SPAM"
for FILE in `find $HOME -name SPAM -print`
do
echo "Processing $FILE"
sa-learn --spam --mbox $FILE
rm $FILE
done
echo "Learning HAM"
for FILE in `find $HOME -name HAM -print`
do
echo "Processing $FILE"
sa-learn --ham --mbox $FILE
rm $FILE
done
echo "Done"
Last edited by tch3; November 10th, 2004 at 8:35 PM. |
|
|
|
|