Results 1 to 7 of 7

Thread: SPAM Cleanup

  1. #1
    swu
    swu is offline Special Member
    Join Date
    Apr 2007
    Location
    Ann Arbor, MI
    Posts
    108
    Rep Power
    8

    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)

  2. #2
    bhickey's Avatar
    bhickey is offline Advanced Member
    Join Date
    Feb 2006
    Posts
    177
    Rep Power
    9

    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.

  3. #3
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,373
    Rep Power
    10

    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

  4. #4
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    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!

  5. #5
    bhickey's Avatar
    bhickey is offline Advanced Member
    Join Date
    Feb 2006
    Posts
    177
    Rep Power
    9

    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.

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,373
    Rep Power
    10

    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!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trying to understand Zimbra's anti-spam system
    By TaskMaster in forum Users
    Replies: 11
    Last Post: 01-25-2008, 09:59 AM
  2. Spam training from junk folders
    By mdeneen in forum Administrators
    Replies: 10
    Last Post: 07-31-2007, 10:11 AM
  3. Spam being scored with BAYES_00
    By flyerguybham in forum Administrators
    Replies: 6
    Last Post: 04-24-2007, 12:07 PM
  4. Cleanup Inbox from SPAM
    By dealt in forum Administrators
    Replies: 3
    Last Post: 03-19-2007, 11:15 PM
  5. Training spam and ham
    By Justin in forum Developers
    Replies: 2
    Last Post: 10-31-2006, 03:39 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
  •