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 (3) Thread Tools Display Modes
  #11 (permalink)  
Old 10-17-2006, 04:46 PM
Zimbra Employee
 
Posts: 4,784
Default

Quote:
Originally Posted by inigoml
We didn't change it. Defaults for zimbra, that is, 6.6/15.
You are right. Lowering to 5.5 could improve recall, but would damage precision...
Anyway this is our first week with all company "zimbraed", we will continue adjusting these values.
For the record we run with 4 so even lower and that works very well. I wonder if you'd get same/better spam protection if you just trained Zimbra a little and then slowly lowered the values.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #12 (permalink)  
Old 10-17-2006, 07:40 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

That's what i did. I subscribed to a SPAM list, and just spent a month training it, rather than having the users train it.

I get about 150 spam e-mails a day, and only about 1 or 2 end up in my inbox.
Reply With Quote
  #13 (permalink)  
Old 10-18-2006, 01:01 AM
Project Contributor
 
Posts: 58
Default Spam training in enough?

You have english as mother language. Most of the filters have been studied for that language, so works very well. It is very different when you receive the most part of your messages in another language... In my experience, Zimbra SA have failed a lot expecially with phishing messages translted into italian. These messages are not recognized by Clamav as a threat, so simply pass the filter. The great adventage to have a lot of check is a big differece in score between valid messages and spam.
Reply With Quote
  #14 (permalink)  
Old 10-18-2006, 01:42 AM
Project Contributor
 
Posts: 110
Default

Quote:
Originally Posted by KevinH
For the record we run with 4 so even lower and that works very well. I wonder if you'd get same/better spam protection if you just trained Zimbra a little and then slowly lowered the values.
My system has been trained with thousands of spam messages with a set of spam samples, but 4 is very low for us. Too many spam messages would enter without been tagged.
In fact, I rely more in blacklist than in bayesian filters...

This is the spam repository I have used. There are hundred of thousand samples...
http://www.untroubled.org/spam/

Trained via sa-learn (/opt/zimbra/libexec)
Reply With Quote
  #15 (permalink)  
Old 10-18-2006, 05:21 PM
Project Contributor
 
Posts: 58
Default Implementing Whitelist/Blacklist

It' very simple changing amavis config:

put in /opt/zimbra/conf/amavis.conf*

read_hash(\%whitelist_sender, '/etc/zimbra/whitelist');
read_hash(\%blacklist_sender, '/etc/zimbra/blacklist');
read_hash(\%spam_lovers, '/etc/zimbra/spamlovers');

In /etc/zimbra/* put sender address or domain, one per line. Wildcards allowed.
Eg:
hotstuff@sexnzen.com
getassistedgroup.com

A spamlovers list is for that accounts that always need to receive all messages, even if spam. According to rfc 2822 postmaster, abuse and other account of this kind should be spam lovers.

Ciao,
Claudio
Reply With Quote
  #16 (permalink)  
Old 10-30-2006, 06:42 PM
Partner (VAR/HSP)
 
Posts: 116
Default

Quote:
Originally Posted by inigoml
My system has been trained with thousands of spam messages with a set of spam samples, but 4 is very low for us. Too many spam messages would enter without been tagged.
In fact, I rely more in blacklist than in bayesian filters...

This is the spam repository I have used. There are hundred of thousand samples...
http://www.untroubled.org/spam/

Trained via sa-learn (/opt/zimbra/libexec)
I have downloaded the spam samples, ran sa-learn.. receive these error..

Code:
[zimbra@pluto ~]$ /opt/zimbra/libexec/sa-learn --spam /opt/spam/2006/09/
config: invalid regexp for rule TW_QE: /[-<!\s]\w{0,10}qe[abceghjkmopquwxyz]\w{0,: missing or invalid delimiters
bayes: expire_old_tokens: locker: safe_lock: cannot create tmp lockfile /opt/zimbra/.spamassassin/bayes.lock.pluto.cnc.net.my.6233 for /opt/zimbra/.spamassassin/bayes.lock: No such file or directory
is my command incorrect?

tq
Reply With Quote
  #17 (permalink)  
Old 10-31-2006, 01:04 AM
Project Contributor
 
Posts: 110
Smile Training spam from command line

Your command should be something kile this (zmtrainsa inspired):

From your spam folder, create a spam index file:
ls > spam.index

And then, as zimbra user::
sa-learn -p /opt/zimbra/conf/salocal.cf --dbpath ${zimbra_home}/amavisd/.spamassassin/ -L --no-sync --spam -f spam.index --shotdots
Reply With Quote
  #18 (permalink)  
Old 11-01-2006, 08:00 AM
Partner (VAR/HSP)
 
Posts: 116
Default

thanx! it worked flawlessly.. is there any way to check the sa/bayes database contents? just to make sure that it learned the messages properly..

Last edited by scalper : 11-01-2006 at 08:23 AM.
Reply With Quote
  #19 (permalink)  
Old 11-01-2006, 09:35 AM
Moderator
 
Posts: 1,847
Default

As zimbra user :
sa-learn --dump magic --dbpath ${zimbra_home}/amavisd/.spamassassin/
Reply With Quote
  #20 (permalink)  
Old 11-17-2006, 07:48 AM
Intermediate Member
 
Posts: 15
Default

thanks for the tips, but at the moment i can't understand if the changes in the configuration in conf/spamassassin/local.cf are considered, since the conf file for SA in zimbra si conf/salocal.cf: how can i determine it? Is there a way to see what's loaded as rules at startup?

anyway modifying salocal.cf doesn't work since it's recreated at restart from salocal.cf.in . i wanted to touch as little as possible simbra inner workings and yet customize it.

will w have an administration console interface to handle all amavisd - spamassassin -clamd -freshclam configuration settings? In fact i've modified every freshclam configuration i've found to set the http proxy and make it update definitions but none worked. were am i wrong?

thanks in advance.


albe
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0