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 Search this Thread Display Modes
  #1 (permalink)  
Old 09-01-2010, 01:06 PM
Junior Member
 
Posts: 7
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 08:51 AM..
Reply With Quote
  #2 (permalink)  
Old 09-02-2010, 11:01 AM
Moderator
 
Posts: 1,432
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.)
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #3 (permalink)  
Old 09-02-2010, 11:13 AM
Junior Member
 
Posts: 7
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.
Reply With Quote
  #4 (permalink)  
Old 09-02-2010, 11:42 AM
Moderator
 
Posts: 1,432
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.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #5 (permalink)  
Old 09-02-2010, 11:47 AM
Moderator
 
Posts: 1,432
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.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
  #6 (permalink)  
Old 09-10-2010, 05:44 AM
Junior Member
 
Posts: 7
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?
Reply With Quote
  #7 (permalink)  
Old 09-10-2010, 07:34 AM
Advanced Member
 
Posts: 205
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 )
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.