| 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.
|  | | 
12-06-2006, 12:18 PM
| | Project Contributor | |
Posts: 58
| | Very good, should write a wiki page Quote:
Originally Posted by tdi 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 | 
12-13-2006, 08:49 PM
| | Advanced Member | |
Posts: 177
| | 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 | 
12-14-2006, 12:59 AM
| | Project Contributor | |
Posts: 110
| | Quote:
Originally Posted by dlochart 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.  | 
12-14-2006, 06:43 AM
| | Advanced Member | |
Posts: 177
| | Quote:
Originally Posted by inigoml 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 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! | 
12-14-2006, 09:14 AM
| | Advanced Member | |
Posts: 177
| | 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.
| 
12-14-2006, 11:00 AM
| | | Quote:
Originally Posted by inigoml 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. | 
12-14-2006, 11:54 AM
| | Project Contributor | |
Posts: 110
| | Quote:
Originally Posted by Klug 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. | 
12-14-2006, 12:00 PM
| | | Quote:
Originally Posted by inigoml 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. | 
12-14-2006, 12:02 PM
| | Project Contributor | |
Posts: 110
| | Quote:
Originally Posted by dlochart 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) | | Thread Tools | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |