|
|
#82 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Oct 2006
18 posts
Gave thanks: 5
Thanked 0 times
|
So it would look like this?
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 touch $FILE done echo " " echo "Learning HAM" for FILE in `find $HOME -name .HAM/ -print` do echo "Processing $FILE" sa-learn --ham --mbox $FILE rm $FILE touch $FILE done echo "Done"
__________________
grokdesigns.com Server Name: Pass65 |
|
|
|
|
|
#83 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Oct 2006
18 posts
Gave thanks: 5
Thanked 0 times
|
Well, this didn't work, now I just get:
Learning SPAM Learning HAM Done Quote:
__________________
grokdesigns.com Server Name: Pass65 |
|
|
|
|
|
|
#84 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
|
why did you name the folders with the DOT?
__________________
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! |
|
|
|
|
|
#86 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Feb 2004
Lives in Norfolk, England
Hosted on Pass32
167 posts
Gave thanks: 23
Thanked 19 times
|
Hi,
I remember reading on this forum (or maybe the cpanel.net forums) that you cannot "clear out" messages that you train spamassassin with using the same cron job when the server uses the maildir format (which some surpass servers are being changed to). This is because each email is stored in a separate file (not in one large archive file for each folder as with mailbox format which you could run a "touch" command on). You have to implement an PHP/IMAP script to go through each of the spam/ham folders and select messages of a certain age to delete. Or you just have to delete some messages manually - for instance, I have Thunderbird set up to do this for me. Hope that helps. Jonathan
__________________
Server: Pass32 and dedicated server |
|
|
|
|
|
#87 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
The dot makes it "hidden". It is not part of the name.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#89 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Sep 2003
Lives in Spokane, Washinton
Hosted on SH124
6 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
|
Quote:
Last edited by avagodro; October 24th, 2006 at 11:42 AM.. |
|
|
|
|
|
|
#90 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
|
those are in the mail/spam assassin cpanel.
__________________
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! |
|
|
|