Results 1 to 7 of 7

Thread: Noob on Antispam... How can i really check It's working?

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    7
    Rep Power
    6

    Default Noob on Antispam... How can i really check It's working?

    Hi there.

    How can i get a list of email marked as Spam (Marked by users)?

    How can i modify that list, lets say remove an email from the spam list (Again, email mark by another user, not me)?

    How can i get an efficiency statistic about how much emails are marked as spam by spamassasin VS how many email are marked as spam by users?

    Finally, any hint's to a really good zimbra-antispam guide For noobs? (From an administration point of view, not an install guide or teoric paper.)

    I'm a total noob on antispam. As far as i know, zimbra by default works with spamassasin. And also as far as i now it shoud be working (All services up and running).

    I also now the logic about how it works (Score system, emails tagged as spam moves to another account, etc)


    Thank you all for your time!!
    Last edited by sapoku; 09-02-2010 at 09:51 AM.

  2. #2
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    I'd start by searching the forums and looking at Improving Anti-spam system - Zimbra :: Wiki.

    About your first question, you could always look in the spam account using the Admin GUI and then "View Mail". Or you could do this:

    grep marked\ as\ spam /opt/zimbra/log/mailbox.log

    (Optional: substitute any of the other mailbox.log* files for historical info.)

  3. #3
    Join Date
    May 2009
    Posts
    7
    Rep Power
    6

    Default

    Thanks for the fast answer.
    That command worked perfect.
    About the guide, i had already read it, and it's a lot about how to add more anti spam meassures. What i'm really looking for, it's admin information about spamasasin.

    A guide with tips just like the one you posted!!.
    Now.. how do i find the emails marked as spam by Spamassasin? So i can build the statistic of failure on detection.

  4. #4
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    grep SPAM /var/log/zimbra.log

    Note that this will include both mails marked SPAM (which are dropped entirely) and mails marked SPAMMY (which end up in the junk folder).

    It will not include mails which are dropped at the MTA. For those which are blocked using a DNSRBL at the MTA you could use

    grep blocked\ using /var/log/zimbra.log

    Some other MTA-level checks probably have other patterns that you could grep for in /var/log/zimbra.log.

  5. #5
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    Actually, if you're doing a count by lines, you might want to grep on SPAM, (note the comma) and SPAMMY separately. Otherwise you'll get some additional log lines reporting what happened to the SPAM messages.

  6. #6
    Join Date
    May 2009
    Posts
    7
    Rep Power
    6

    Default

    Sorry for the lag on communications. The console commands have work great. But id tried the "view mail" of the spam account, and it was empty.

    I'm starting to think thats not normal.

    Any ideas on this?

  7. #7
    Join Date
    Nov 2007
    Location
    AZ, USA
    Posts
    205
    Rep Power
    8

    Default

    Quote Originally Posted by sapoku View Post
    Sorry for the lag on communications. The console commands have work great. But id tried the "view mail" of the spam account, and it was empty.

    I'm starting to think thats not normal.

    Any ideas on this?
    The spam account only has in it what your users have marked as spam. it is cleaned out by zimbra, ( one of the cron jobs I think )

Similar Threads

  1. Replies: 0
    Last Post: 09-28-2009, 07:36 PM
  2. Antispam problems
    By Ron Gage in forum Administrators
    Replies: 1
    Last Post: 06-10-2009, 01:29 AM
  3. [SOLVED] How to check Instant Mail Log in Zimbra?
    By nishith in forum Administrators
    Replies: 1
    Last Post: 09-22-2008, 11:48 PM
  4. [SOLVED] antivirus and antispam not working
    By ay4you in forum Installation
    Replies: 3
    Last Post: 06-24-2008, 05:03 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •