Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > ZCS Desktop Connectors > Zimbra Connector for Outlook

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-02-2008, 03:21 AM
alto alto is offline
Member
 
Join Date: Feb 2007
Location: Ireland
ZCS Version: zcs-NETWORK-5.0.5_GA_2202.RHEL4.20080416234634
Posts: 19
alto is on a distinguished road
Question [SOLVED] does the spam filter learn from unread messages in Junk

I know everyday Zimbra polls the spam and ham folders but wonder if it will pick up on unread messages in the Junk folder. And as you can set how long it keeps the messages in Trash and Junk will it automatically delete unread messages from Junk after 30 days or what ever option is set.

And yes I suppose if they are already in Junk as unread then its done its job but will it delete unread ones.

I have some users who are using Outlook and never check the Junk for missed or open the mail client. One user has 3,000 unread in Junk so I guess I'm answering my own question and they are not automatically deleted. Is it possible to make it delete unread in Junk?

Overall Zimbra is great and has been running without much trouble for nearly 2 years now so well done, keep up the good work, thanks.
Reply With Quote
  #2 (permalink)  
Old 05-02-2008, 03:32 AM
phoenix phoenix is offline
Zimbra Employee
 
Join Date: Sep 2005
Location: Vannes, France
Posts: 7,382
phoenix is on a distinguished road
Default

Quote:
Originally Posted by alto View Post
Overall Zimbra is great and has been running without much trouble for nearly 2 years now so well done, keep up the good work, thanks.
Which version of Zimbra are you currently running? Yes, the Junk folder contents will get deleted after a set period of time (you can modify that in the Admin UI on recent versions).
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 05-02-2008, 03:49 AM
alto alto is offline
Member
 
Join Date: Feb 2007
Location: Ireland
ZCS Version: zcs-NETWORK-5.0.5_GA_2202.RHEL4.20080416234634
Posts: 19
alto is on a distinguished road
Default

Hi, we use 5.0.2 Network edition moving shortly to 5.0.5 for some bug fixes.
Where can I modify this? Is it the HSM setting
Just now I had a look in Admin gui and our hsm is set to 30 days, then popped in to a users mailbox who has 6,000 unread spam in Junk the oldest dated 27th Jan over 90 days
Reply With Quote
  #4 (permalink)  
Old 05-02-2008, 04:09 AM
phoenix phoenix is offline
Zimbra Employee
 
Join Date: Sep 2005
Location: Vannes, France
Posts: 7,382
phoenix is on a distinguished road
Default

Go to Admin UI and Class of Service/Advanced tab and then Email Retention Policy, you can set the lifetime there.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 05-02-2008, 04:23 AM
alto alto is offline
Member
 
Join Date: Feb 2007
Location: Ireland
ZCS Version: zcs-NETWORK-5.0.5_GA_2202.RHEL4.20080416234634
Posts: 19
alto is on a distinguished road
Default

Quote:
Originally Posted by phoenix View Post
Go to Admin UI and Class of Service/Advanced tab and then Email Retention Policy, you can set the lifetime there.
I might be missing something here but in the advanced tab there is:
Attachment Settings
Quotas
Password
Failed Login Policy
Timeout Policy

now Timeout Policy has email message lifetime as 0 days, trashed and Spam message lifetime as 30 days

There is no Email Retention Policy that I can see

Thanks for the help,
John
Reply With Quote
  #6 (permalink)  
Old 05-02-2008, 04:32 AM
phoenix phoenix is offline
Zimbra Employee
 
Join Date: Sep 2005
Location: Vannes, France
Posts: 7,382
phoenix is on a distinguished road
Default

Quote:
Originally Posted by alto View Post
There is no Email Retention Policy that I can see
That's the title of the section where you set the lifetime of the retained mail. 0 = never delete and the others are set to 30 days before mail is deleted in those folders.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 05-08-2008, 06:32 AM
alto alto is offline
Member
 
Join Date: Feb 2007
Location: Ireland
ZCS Version: zcs-NETWORK-5.0.5_GA_2202.RHEL4.20080416234634
Posts: 19
alto is on a distinguished road
Default

Quote:
Originally Posted by phoenix View Post
That's the title of the section where you set the lifetime of the retained mail. 0 = never delete and the others are set to 30 days before mail is deleted in those folders.
but with some messages older than 30 days in Junk it's obviously stopped working. The oldest in Junk is dated 27th Jan 08 and last week it was still the 27th.
I might reduce it to 20 or 25 days to see if it makes any difference

Thanks,
John
Reply With Quote
  #8 (permalink)  
Old 05-13-2008, 08:35 AM
alto alto is offline
Member
 
Join Date: Feb 2007
Location: Ireland
ZCS Version: zcs-NETWORK-5.0.5_GA_2202.RHEL4.20080416234634
Posts: 19
alto is on a distinguished road
Default

I changed the lifetime to 25 days and the emails are still not deleting out of Junk.
Is there some service I can restart to kick it off again?
Reply With Quote
  #9 (permalink)  
Old 05-13-2008, 11:08 PM
mmorse's Avatar
mmorse mmorse is offline
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: NE & OS - in the many flavors of 4.5 & 5.0
Posts: 4,248
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
Default

Quote:
Originally Posted by alto View Post
Hi, we use 5.0.2 Network edition moving shortly to 5.0.5 for some bug fixes.
There's the issue, you need to:
zmprov ms server.domain.com zimbraMailPurgeSleepInterval 1m
or just upgrade to 5.0.5
1m is the new default in 5.0.3+, which purges approx 1440 accounts per server per day - though with fewer accounts some prefer a setting of 1h.

To explain it better:
There really is no concept of a "purge interval". The purge thread is constantly running, purging mailboxes in memory, one at a time. Between every one-two mailboxes it sleeps for the interval specified by zimbraMailPurgeSleepInterval. I have much fewer mailboxes on my server so 1d is fine for me - set accordingly after you work out the math. This is way more robust than the old method & allows for spreading the load out overtime, which is especially nice for larger setups.

Work on this was done via Bug 13435 - User-definable expiration policy for systems folders where PurgeThread was implemented for 5.0.x, which iterates all the mailboxes on the server and purges them one at a time. Mailboxes are only purged if they're loaded into the server cache & the thread sleeps between subsequent purges.
In short, the current mailbox purge algorithm only affects mailboxes that are in memory - as the theory is that if a mailbox is not in memory, it's not being accessed, not receiving mail, and therefore has less of a need to be purged.
Bug 20720 - Guarantee that mailboxes will be purged was filed for the issue of wanting a double check - possibly by making use of a zimbraMailLastPurgedTimestamp.

And yes zmpurgemessages, which used to produce some heavier load, was removed from cron/libexec in Bug 20705 - Remove zmpurgemessages

Of course it's all dependent on the zimbraMailSpamLifetime/zimbraMailTrashLifetime (default 30d) for what mail is removed.

It's exposed in 5.0.3 in the admin console: Bug 24823 - expose zimbraMailPurgeSleepInterval in Admin Console.

Admins can set these attributes via CLI on COS or individual user:
zimbraMailMessageLifetime (default is 0 disabled - careful with this one as it affects mail in any folder)
zimbraMailSpamLifetime (default is 30d)
zimbraMailTrashLifetime (default is 30d)

These as well, though currently not exposed in the user's UI:
zimbraPrefInboxReadLifetime
zimbraPrefInboxUnreadLifetime
zimbraPrefSentLifetime
zimbraPrefJunkLifetime
zimbraPrefTrashLifetime
Reply With Quote
  #10 (permalink)  
Old 05-14-2008, 06:37 AM
alto alto is offline
Member
 
Join Date: Feb 2007
Location: Ireland
ZCS Version: zcs-NETWORK-5.0.5_GA_2202.RHEL4.20080416234634
Posts: 19
alto is on a distinguished road
Default

Thanks for the comprehensive answer.
Since we can't find a quiet time to upgrade to 5.0.5 I entered that command zmprov ms server.domain.com zimbraMailPurgeSleepInterval 1m and look forward to seeing what happens
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to understand Zimbra's anti-spam system TaskMaster Users 11 01-25-2008 08:59 AM
[SOLVED] Re-creating the spam training e-mail account richard-hdd Administrators 19 09-03-2007 08:58 AM
Spam Training: How to properly train DSPAM? Tenshi Installation 14 05-23-2007 04:08 AM
why aren't these spam messages going to the Junk folder? (4.5.1) shaver Administrators 5 02-09-2007 09:10 PM
Spam assassain not traiing properly! Mike T Administrators 1 10-09-2006 01:34 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0