Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-18-2007, 08:24 AM
swu swu is offline
Special Member
 
Posts: 108
Question SPAM Cleanup

It appears that our SA setup is working, it's flagging messages and looking through the logs, it is learning. What does not seem to be working is the cleanup. I thought the system would empty out the user's Junk folder every night. It hasn't been. Our crontab has among other entries, these which seem to be the learning and cleanup routines.

Is it supposed to clean out everyone's Junk folder every night if there are messages in it? If it is, what should I be checking for a problem?

Thx!

# Spam training
#
0 23 * * * /opt/zimbra/bin/zmtrainsa >> /opt/zimbra/log/spamtrain.log 2>&1
#
# Spam training cleanup
#
45 23 * * * /opt/zimbra/bin/zmtrainsa --cleanup >> /opt/zimbra/log/spamtrain.log 2>&1

and in the logs, entries:
[] INFO: Total messages processed: 9
[] INFO: Total messages processed: 0
[] INFO: Total messages processed: 8
[] INFO: Total messages processed: 0
Learned from 8 message(s) (8 message(s) examined).
Learned from 0 message(s) (0 message(s) examined).
bayes: synced databases from journal in 1 seconds: 4004 unique entries (4197 total entries)
Reply With Quote
  #2 (permalink)  
Old 07-18-2007, 08:36 AM
Special Member
 
Posts: 174
Default

The spam gets emptied from the Junk folders based upon the value contained in the Spam message lifetime field. You can set this by COS or by account.
Reply With Quote
  #3 (permalink)  
Old 07-18-2007, 09:41 AM
Moderator
 
Posts: 514
Default

Quote:
Originally Posted by bhickey View Post
The spam gets emptied from the Junk folders based upon the value contained in the Spam message lifetime field. You can set this by COS or by account.
Where in the COS do you set this please? Maybe I need a new glasses prescription, but I am not seeing it anywhere!

Thanks!
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | data storage
Reply With Quote
  #4 (permalink)  
Old 07-18-2007, 10:56 AM
Zimbra Employee
 
Posts: 538
Default

The attr is zimbraMailSpamLifetime and the default setting is 30d. Also the zmtrainsa script (as called from cron) is only responsible for spam training and cleanup of the system spam/ham accounts.

zmpurgemessages is the script that is responsible for purging expired messages.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 07-18-2007, 10:58 AM
Special Member
 
Posts: 174
Default

  1. Login to the admin console.
  2. Select a Class of Service.
  3. Select the Advanced Tab.
  4. The parameter is located under the Timeout Policy.
Reply With Quote
  #6 (permalink)  
Old 07-18-2007, 10:59 AM
Zimbra Consultant & Moderator
 
Posts: 11,518
Default

Quote:
Originally Posted by LMStone View Post
Where in the COS do you set this please? Maybe I need a new glasses prescription, but I am not seeing it anywhere!

Thanks!
Mark
For the Admin UI it's on the COS/Advanced tab (near the bottom).
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 07-18-2007, 11:24 AM
Moderator
 
Posts: 514
Default

Quote:
Originally Posted by phoenix View Post
For the Admin UI it's on the COS/Advanced tab (near the bottom).
Ah! I do need need new glasses!

Thanks Bill!
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | data storage
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0