I have to ask this question as I cannot seem to be able to put the right words together to get an answer when I search.

I do not know alot about SpamAssassin but I seem to think that (unlike PopFile) it does not accept user input back to help it learn. Then how does it learn and know when its working properly?

I am trying Zimbra out for the first time and I do not know how to test to see if it does what I need in all areas. It seems to do most of what I need but how can I tell if SA is working properly and how do I make it work better from within Zimbra?

thanks

Doug

11-29-2006, 08:01 AM

dlochart

I guess maybe I should always sleep and then try and search the next day. I found some good info for SpamAssassin and Postfix but this is out of the Zimbra context. That being said this is what I have learned in case anyone needs to do this.

Set up a spam and a ham alias (ham is a false positive). If a user gets mail marked as spam by SpamAssassin they can forward this mail to one of the aliases. With a bit of Postfix configuration you can have these emails fed back into sa_learn which is a SpamAssassin program to get it to learn better. This howto is located at http://gtmp.org/pub/sa-postfix.en.html

I have not tested this but it looks like it will work.

Comments anyone? Us newbies need all the help we can get.

11-29-2006, 08:11 AM

phoenix

There are already spam & ham training accounts in Zimbra, have a look in the admin ui for a couple of accounts with funny names - they should also have a spam/ham comment next to them. When a user gets a piece of spam in their inbox, they just need to hit the 'Junk' button and it gets moved to the junk folder and Zimbra trains itself overnight when it runs the zmtrainsa script.

11-29-2006, 08:35 AM

dlochart

Thanks. Is there a similar "Junk" feature for Ham?

11-29-2006, 08:45 AM

phoenix

Yes, if you get a false positive in the junk folder then you hit the 'Not junk' button. You can always run zmtrainsa manually and there are a couple of posts on the forums about running spam/ham corpus for training, although I've never found it necessary.

01-26-2007, 10:27 AM

grandpajim

spam/ham rules - domain wide or user specific?

Does this train zimbra for the spam/ham rules for all users or just for that user who reported the spam/ham?

I ask because I wonder if one user can Junk a message from another user and stop that user from sending to anyone.

I also wonder if any one user whould have this much power to determine what is spam/ham for all the users.
Thanks,
Jim...

01-26-2007, 10:35 AM

phoenix

It would be for all users at the moment as we don't have spam training for individual accounts. I seem to remember there's an entry in bugzilla for an enhancement for this feature.

01-26-2007, 10:42 AM

dlochart

Quote:

Originally Posted by phoenix

It would be for all users at the moment as we don't have spam training for individual accounts. I seem to remember there's an entry in bugzilla for an enhancement for this feature.

That is correct. I cast my vote for it.

11-07-2008, 04:01 AM

Mudasar

SPAM and HAM training for outlook

Hi,

How outlook user(PoP3) can train the sapm and ham email?

Mudasar

11-07-2008, 04:19 AM

uxbod

Difficult once the email has been popped from the server. You could try forwarding it to the SPAM/HAM user account, but have to be careful because of the additional headers.