Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SOLVED] does the spam filter learn from unread messages in Junk

  1. #1
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    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.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    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

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

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


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    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

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    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

  8. #8
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    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?

  9. #9
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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

  10. #10
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    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

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Re-creating the spam training e-mail account
    By richard-hdd in forum Administrators
    Replies: 21
    Last Post: 03-20-2012, 07:34 AM
  2. Trying to understand Zimbra's anti-spam system
    By TaskMaster in forum Users
    Replies: 11
    Last Post: 01-25-2008, 09:59 AM
  3. Spam Training: How to properly train DSPAM?
    By Tenshi in forum Installation
    Replies: 14
    Last Post: 05-23-2007, 04:08 AM
  4. Replies: 5
    Last Post: 02-09-2007, 10:10 PM
  5. Spam assassain not traiing properly!
    By Mike T in forum Administrators
    Replies: 1
    Last Post: 10-09-2006, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •