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 06-30-2009, 03:33 PM
Senior Member
 
Posts: 58
Default howto know if spamassasin is working

Hi All

I was to check the configuration file for spamassasin, the file local.cf have all lines commented.

How can I to know if spamassassin is working ??

the file es:

# Save spam messages as a message/rfc822 MIME attachment instead of
# modifying the original message (0: off, 2: use text/plain instead)
#
# report_safe 1


# Set which networks or hosts are considered 'trusted' by your mail
# server (i.e. not spammers)
#
# trusted_networks 212.17.35.


# Set file-locking method (flock is not safe over NFS, but is faster)
#
# lock_method flock


# Set the threshold at which a message is considered spam (default: 5.0)
#
# required_score 5.0


# Use Bayesian classifier (default: 1)
#
# use_bayes 1


# Bayesian classifier auto-learning (default: 1)
#
# bayes_auto_learn 1


# Set headers which may provide inappropriate cues to the Bayesian
# classifier
#
# bayes_ignore_header X-Bogosity
# bayes_ignore_header X-Spam-Flag
# bayes_ignore_header X-Spam-Status

Regards.
Reply With Quote
  #2 (permalink)  
Old 06-30-2009, 09:32 PM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

You'll see headers in an email telling you if it's been checked, you'll also get email in the Junk folder. Those commented out lines just mean that the spamassassin defaults are used.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-01-2009, 12:00 AM
Moderator
 
Posts: 7,928
Default

Here is a example from a spam I received today
Code:
X-Virus-Scanned: amavisd-new at xxxxxxxxxxxxx.xxxxxxxxxxx.xxxxxxxxxx
X-Spam-Flag: YES
X-Spam-Score: 7.283
X-Spam-Level: *******
X-Spam-Status: Yes, score=7.283 tagged_above=-10 required=6.6
	tests=[AV:Sanesecurity.Spam.10544.UNOFFICIAL=0,
	AV:Sanesecurity.Spam.10544.UNOFFICIAL=0,  AV_SS=4, BAYES_50=0.001,
	RCVD_IN_JMF_BL=1.5, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877]
__________________
Reply With Quote
  #4 (permalink)  
Old 07-06-2009, 05:56 AM
Outstanding Member
 
Posts: 594
Default

Means spamassassin is working fine.

By the way the config file is /opt/zimbra/conf/salocal.cf and not local.cf
Reply With Quote
  #5 (permalink)  
Old 07-06-2009, 05:58 AM
Moderator
 
Posts: 7,928
Default

Correct, and for changes to be persistent across restarts you should also update /opt/zimbra/conf/salocal.cf.in
__________________
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.