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
  #31 (permalink)  
Old 12-06-2006, 11:31 AM
Elite Member & Volunteer
 
Posts: 255
Default

In the wiki there are steps on howto implement SQLgrey. http://wiki.zimbra.com/index.php?tit...g_with_SQLGrey
Reply With Quote
  #32 (permalink)  
Old 12-06-2006, 12:18 PM
Project Contributor
 
Posts: 58
Default Very good, should write a wiki page

Quote:
Originally Posted by tdi View Post
Postgres ZIMBRA 4.0.4/Centos 4.4

1. Install postgres
In wiki.zimbra.com there is a page about sqlgray.
As you already wrote a so detailed post, you could just copy it into a new wiki page.
There are new pages about a plenty of tweaks previously discussed in this post...

Ciao
Reply With Quote
  #33 (permalink)  
Old 12-13-2006, 08:49 PM
Advanced Member
 
Posts: 177
Default

First of all thanks a bunch for this. It seems as though this part of Zimbra (its external composite pieces) are not documented like they need to be.

I do have a question. I followed the instructions (did not do DCC yet) and I sent a test mail (local to local) I did a tcpdump and saw the traffic for razor2 but I did not see any traffic for pyzor.

How do I know if.when pyzor is activated?

Also how do I know what is happening with SPF? I enabled it (but I have not added an SPF record for my domain yet) I sent the mails internally so that might come into play for SPF but I am unsure. Any body have a clue? or something I can try? This is a totally internal domain for the time being.

thanks

Doug
Reply With Quote
  #34 (permalink)  
Old 12-14-2006, 12:59 AM
Project Contributor
 
Posts: 110
Default

Quote:
Originally Posted by dlochart View Post
How do I know if.when pyzor is activated?
I tested it after receiving spam mails with pyzor labels.

Quote:
Also how do I know what is happening with SPF? I enabled it (but I have not
For SPF, you should try sending and email from a SPF enabled domain directy to your server, for example from Gmail.
So:
telnet yourhost 25
>helo mail.gmail.com
> mail from: <test@gmail.com>
> rcpt to: <youraccount@yourdomain.com>
> data
> From: Test
> To: Test
> Subject: Test
> . (dot and enter)

After receiving email, check spamassassin headers for SPF failure.
Reply With Quote
  #35 (permalink)  
Old 12-14-2006, 06:43 AM
Advanced Member
 
Posts: 177
Default

Quote:
Originally Posted by inigoml View Post
I tested it after receiving spam mails with pyzor labels.
I am unable to do this. As of now this mail domain is totally internal. I can send mail out but I cannot send mail to within. Maybe someone could post/send me a spam message (what ... I am asking for spam ) that would trigger a pyzor header. Then I can chaneg the rcpt to and send it to an internal address

Quote:
Originally Posted by inigoml View Post
For SPF, you should try sending and email from a SPF enabled domain directy to your server, for example from Gmail.
So:
telnet yourhost 25
>helo mail.gmail.com
> mail from: <test@gmail.com>
> rcpt to: <youraccount@yourdomain.com>
> data
> From: Test
> To: Test
> Subject: Test
> . (dot and enter)

After receiving email, check spamassassin headers for SPF failure.
Thanks, that'll work!
Reply With Quote
  #36 (permalink)  
Old 12-14-2006, 09:14 AM
Advanced Member
 
Posts: 177
Default Ok I need HELP

I am a bit confused. I have been so wrapped up in trying to come up to speed with all this stuff postfix, spam assassin, zimbra etc that I forgot that zimbra also uses DSPAM ???

I tried to test the SPF settings as was suggested and when I look at the headers I mainly see DSPAM headers giving the scores. I do see one X-Amavis-Alert and a few X-Spam headers (are X-Spam SpamAssassin headers?)

So how does DSPAM fit into all of this and do I need to worry about it?

My SPF seemed to not work can someone offer some diagnostic tips?

I followed the WIKI. Nowhere do I see a flag to turn on or off SPF. I only see a .../spamassassin/25_spf.cf file that queries to make sure that the SPF plugin is installed.

BTW I did run this make sure I had the SPF package installed.

perl -e 'require Mail::SPF::Query'

It came back without complaining

Also any other tips for Pyzor?

thanks

Doug

Last edited by dlochart : 12-14-2006 at 09:36 AM.
Reply With Quote
  #37 (permalink)  
Old 12-14-2006, 11:00 AM
Moderator
 
Posts: 1,847
Default

Quote:
Originally Posted by inigoml View Post
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
A quick question on this : is it possible to copy (or move) the ${zimbra_home}/amavisd/.spamassassin/ directory from one server to another ?

My idea, trying to be more precise, is to be able to do the training on _one_ server and then simply deploy the trained data to any other server.
Reply With Quote
  #38 (permalink)  
Old 12-14-2006, 11:54 AM
Project Contributor
 
Posts: 110
Default

Quote:
Originally Posted by Klug View Post
A quick question on this : is it possible to copy (or move) the ${zimbra_home}/amavisd/.spamassassin/ directory from one server to another ?

My idea, trying to be more precise, is to be able to do the training on _one_ server and then simply deploy the trained data to any other server.
Yes, I suppose it will work without any problem.

You could also modify amavisd config for listening in a real ip (not localhost) and bind other postfix servers to this amavisd.
Reply With Quote
  #39 (permalink)  
Old 12-14-2006, 12:00 PM
Moderator
 
Posts: 1,847
Default

Quote:
Originally Posted by inigoml View Post
You could also modify amavisd config for listening in a real ip (not localhost) and bind other postfix servers to this amavisd.
The idea is to train a "clean" amavisd with both the "SPAM Archive" and some french spams (collected from several of my own mailboxes) to be able to deploy them by customers setups.

I'm currently training one server against the SPAM Archive, once it's over I'll try to move the .spamassassin folder to another brand new server.
Reply With Quote
  #40 (permalink)  
Old 12-14-2006, 12:02 PM
Project Contributor
 
Posts: 110
Default

Quote:
Originally Posted by dlochart View Post
I am a bit confused. I have been so wrapped up in trying to come up to speed with all this stuff postfix, spam assassin, zimbra etc that I forgot that zimbra also uses DSPAM ???
Yes, It also uses DSPAM, but I've not worked with it before, so I didn't get any action to improve score. However I've worked with spamassassin for years and has been easier for me to improve it.

Quote:
X-Amavis-Alert and a few X-Spam headers (are X-Spam SpamAssassin headers?)
Yes, they do.

Quote:
So how does DSPAM fit into all of this and do I need to worry about it?
Zimbra uses both systems for spam catching. You could improve both.

Quote:
My SPF seemed to not work can someone offer some diagnostic tips?
I followed the WIKI. Nowhere do I see a flag to turn on or off SPF. I only see a .../spamassassin/25_spf.cf file that queries to make sure that the SPF plugin is installed.
Check /opt/zimbra/conf/spamassassin/v310.pre. Here SPF plugin should be loaded (that is, without #). But by default it should be enabled.
You have also to restart amavisd (zmamavisdctl restart)
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