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 Display Modes
  #1 (permalink)  
Old 02-09-2007, 09:00 AM
Intermediate Member
 
Posts: 24
Unhappy why aren't these spam messages going to the Junk folder? (4.5.1)

I just upgraded to 4.5.1, which went smoothly enough, but now things that are apparently detected as being spam are ending up in my inbox.

Example headers:
Code:
X-DSPAM-Result: Spam
X-DSPAM-Confidence: 0.9997
X-DSPAM-Probability: 1.0000
X-DSPAM-Signature: 45cc90a582151385515324
X-DSPAM-Factors: 15,
X-Virus-Scanned: amavisd-new at 
X-Amavis-Alert: BAD HEADER, Non-encoded 8-bit data (char AC hex): Date:
	\254P\264\301\244\255, 09 \244G\244\353 ...
X-Spam-Flag: YES
X-Spam-Score: 7.424
X-Spam-Level: *******
X-Spam-Status: Yes, score=7.424 tagged_above=-10 required=4
	tests=[BAYES_99=3.5, DNS_FROM_AHBL_RHSBL=0.231, DSPAM_SPAM=1.5,
	INVALID_DATE=2.193]
Code:
X-Virus-Scanned: amavisd-new at 
X-Spam-Flag: YES
X-Spam-Score: 10.312
X-Spam-Level: **********
X-Spam-Status: Yes, score=10.312 tagged_above=-10 required=4
	tests=[BAD_ENC_HEADER=3.1, BAYES_99=3.5, DNS_FROM_AHBL_RHSBL=0.231,
	HTML_IMAGE_ONLY_24=1.841, HTML_MESSAGE=0.001, URIBL_SBL=1.639]
Spam checking is turned on in the console, tag and kill %ages look right (20/75), and it's clearly detecting them as spam -- why are they ending up in my inbox instead of my Junk folder?

Mike
Reply With Quote
  #2 (permalink)  
Old 02-09-2007, 08:20 PM
Intermediate Member
 
Posts: 24
Question

Quote:
Originally Posted by shaver View Post
I just upgraded to 4.5.1, which went smoothly enough, but now things that are apparently detected as being spam are ending up in my inbox.
Still happening, starting to drown a bit in spam! Can anyone point me at the part of the system that usually puts Spam-Flag: YES stuff into the Junk folder? I'm trying to find it in my zimbra config to make sure it's still set correctly, but I'm having an unfortunately small amount of luck right now.

Mike
Reply With Quote
  #3 (permalink)  
Old 02-09-2007, 09:16 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Hi Shaver,
Sorry to hear your trouble with spam!

Please run the following command:
zmprov gacf | grep -i spamis

and verify the accounts exist.

Thanks
john
Reply With Quote
  #4 (permalink)  
Old 02-09-2007, 09:29 PM
Intermediate Member
 
Posts: 24
Lightbulb solved ("keep in inbox" really means it!)

Quote:
Originally Posted by wannabetenor View Post
Hi Shaver,
Sorry to hear your trouble with spam!

Please run the following command:
zmprov gacf | grep -i spamis

and verify the accounts exist.

Thanks
john
Indeed, the spam stuff turned out to be working for all the other users on my system, so I started comparing filter rules. I have a rule that forwards mail to my blackberry, but I want to keep a copy in my INBOX as well. To that end, I picked "Keep in inbox" as my last option -- without it I was _only_ getting mail forwarded to the device -- which, I discovered by reading ZimbraMailAdapter.java, means that the spam flag isn't checked at all!

I ended up adding an explicit test in my rule for X-Spam-Flag: YES, and now I think I'll get the behaviour I want. Certainly a surprising outcome, especially if you know that the spam flagging has already happened when the SIEVE rules are run!

Mike
Reply With Quote
  #5 (permalink)  
Old 02-09-2007, 09:54 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Good thinking. Keep in mind however, you've only treating the symptom. Now, what/where's the problem.
Reply With Quote
  #6 (permalink)  
Old 02-09-2007, 10:10 PM
Intermediate Member
 
Posts: 24
Default

Quote:
Originally Posted by wannabetenor View Post
Good thinking. Keep in mind however, you've only treating the symptom. Now, what/where's the problem.
No, that was the real problem. My filter rules were causing the spam filtering in ZimbraMailAdapter to be skipped, so even if the header was being set correctly by SA, it wasn't affecting the disposition of the messages.

Once I made my rule painfully explicit about the fact that it shouldn't be called for X-Spam-Flag: YES, I no longer hit the "keep in inbox" action in that case. This means that X-S-F: YES messages go the implicit-keep route in ZimbraMailAdapter, and all is well.

(If somewhat confusing. )

Mike
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