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 12-09-2009, 11:39 AM
Senior Member
 
Posts: 54
Default Amavis going crazy with flagging

Hi,
In the last weeks we have had an problem with Amavis that it suddently flags non-spam mails as spam for many of our users. The "spam"-mails is from trusted domains and Zimbra has received a lot of mails from these different trusted domains before without flagging them as spam.

I have a supportcase waiting for this, but i'm interested to know if any others out there have had the same problem. This also happends to me now, and this mailheader is from a trusted domain which I have mailed alot with before from the same zimbra server:

X-DSPAM-Result: Spam
X-DSPAM-Class: Spam
X-DSPAM-Confidence: 0.57
X-DSPAM-Probability: 1.0000
X-DSPAM-Signature: N/A
X-Virus-Scanned: amavisd-new at our.zimbra.server
X-Spam-Flag: YES
X-Spam-Score: 7.487
X-Spam-Level: *******
X-Spam-Status: Yes, score=7.487 tagged_above=-10 required=6.6
tests=[AWL=0.086, BAYES_00=-2.599, DSPAM:Spam=10.000] autolearn=ham

And this is from a customer with the same problem. Trusted domains suddently get flagged:
X-DSPAM-Result: Spam
X-DSPAM-Class: Spam
X-DSPAM-Confidence: 0.49
X-DSPAM-Probability: 1.0000
X-DSPAM-Signature: N/A
X-Virus-Scanned: amavisd-new at our.zimbra.server
X-Spam-Flag: YES
X-Spam-Score: 8.379
X-Spam-Level: ********
X-Spam-Status: Yes, score=8.379 tagged_above=-10 required=6.6
tests=[AWL=-0.419, BAYES_00=-2.599, HTML_MESSAGE=0.001,
MIME_QP_LONG_LINE=1.396, DSPAM:Spam=10.000] autolearn=no

I noticed that this has autolearn set to no. Why is that?

We had some file owner problems with DPAM after upgrade 6.0.2 -> 6.0.3. Had to change owner on /opt/zimbra/dspam/bin/*back to zimbra instead of root. Related?
[SOLVED] All mail deferred after upgrade

Last edited by mrjohnsen; 12-09-2009 at 12:10 PM..
Reply With Quote
  #2 (permalink)  
Old 12-11-2009, 02:32 PM
Moderator
 
Posts: 1,147
Default

Only thing I can say is it isn't amavis that is causing your problem but DSPAM, notice that for both those headers it is the 10.00 from DSPAM that causes the messages to be flagged. You should look into the DSPAM config for whatever is causing it to make these false positives.
Reply With Quote
  #3 (permalink)  
Old 12-11-2009, 03:06 PM
Senior Member
 
Posts: 54
Default

Thank you for your answer. Yes, I agree I with that, but do you know why autolearn is set to 'no' in the header? Shouldn't it be HAM?
Reply With Quote
  #4 (permalink)  
Old 12-11-2009, 03:42 PM
Moderator
 
Posts: 1,147
Default

See AutolearningNotWorking - Spamassassin Wiki for more detail, but basically that just means that amavis didn't use that particular message for ham/spam training.
Reply With Quote
  #5 (permalink)  
Old 12-14-2009, 03:08 AM
Senior Member
 
Posts: 54
Default

Thank you.

I'm having some problems disabling DSPAM. I have done this:
#zmlocalconfig |grep dspam
amavis_dspam_enabled = false

And restarted the zimbra service but DSPAM is still in the mailheader of new incoming mails.
Reply With Quote
  #6 (permalink)  
Old 02-07-2010, 12:04 PM
imx imx is offline
Special Member
 
Posts: 131
Default

Did you solve the whole DSpam score of 10 thing? Ive tried pretty much everything i can think of, clearing out its db by force and still i gets a bl**dy score of 10, even when set lower in a cf file.

Im sure youve already sorted your last problem posted, you just need to set FALSE - note the caps, this was a bug.

iMx
Reply With Quote
  #7 (permalink)  
Old 02-07-2010, 04:53 PM
Special Member
 
Posts: 117
Default

Hi mrjohnson,

we have a similar problem since one week. Many eMails get flagged as spam. But running 5.0.18 on Ubuntu8.04 X86_64. We upgraded to 5.0.22, but still no change. Many eMails go to spam incorrectly as false positives.

I have also to investigate further if it happens cause dspam.

best regards
thomas
__________________
zmcontrol -v
2x Release 6.0.10_GA_2692.UBUNTU8_64 NETWORK edition.
1x Release 6.0.14_GA_2928.UBUNTU8_64 NETWORK edition
2x Release 7.1.3_GA_3346.UBUNTU10_64 NETWORK edition, Patch 7.1.3_P1

1x Release 6.0.7_GA_2470.UBUNTU8_64 FOSS edition
1x Release 7.1.2_GA_3268.UBUNTU10_64 FOSS edition
2x Release 7.1.3_GA_3346.UBUNTU10_64 FOSS
1x Release 7.1.4_GA_2555.UBUNTU10_64 FOSS
Reply With Quote
  #8 (permalink)  
Old 02-07-2010, 11:51 PM
Senior Member
 
Posts: 54
Default

Hi,
Our solution was to disable DSPAM. And yes, false had to be in CAPS
Reply With Quote
  #9 (permalink)  
Old 02-08-2010, 02:29 AM
Special Member
 
Posts: 117
Default

hi,

currently the wiki seems to be down, i get mostly only white pages.

what is the correct command to disable dspam?
zmlocalconfig -e amavis_dspam_enabled=FALSE

best regards
thomas
__________________
zmcontrol -v
2x Release 6.0.10_GA_2692.UBUNTU8_64 NETWORK edition.
1x Release 6.0.14_GA_2928.UBUNTU8_64 NETWORK edition
2x Release 7.1.3_GA_3346.UBUNTU10_64 NETWORK edition, Patch 7.1.3_P1

1x Release 6.0.7_GA_2470.UBUNTU8_64 FOSS edition
1x Release 7.1.2_GA_3268.UBUNTU10_64 FOSS edition
2x Release 7.1.3_GA_3346.UBUNTU10_64 FOSS
1x Release 7.1.4_GA_2555.UBUNTU10_64 FOSS
Reply With Quote
  #10 (permalink)  
Old 02-08-2010, 08:13 AM
Moderator
 
Posts: 7,928
Default

Quote:
Originally Posted by stegbth View Post
Hi mrjohnson,

we have a similar problem since one week. Many eMails get flagged as spam. But running 5.0.18 on Ubuntu8.04 X86_64. We upgraded to 5.0.22, but still no change. Many eMails go to spam incorrectly as false positives.

I have also to investigate further if it happens cause dspam.

best regards
thomas
Unless we see the headers from one of the emails then it would be very difficult to say. Have you fixed the known issue [SOLVED] FH_DATE_PAST_20XX - Spamassassin bug - incorrect tagging from Jan 1, 2010 on ?
__________________
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.