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 01-12-2010, 07:24 AM
Active Member
 
Posts: 33
Default How to un-block spam from a domain I control

I've got a server from which I send mail via an SVN post-commit hook. When it arrives at my Zimbra mail server it gets marked spam. I have complete admin control over both servers. Is there a way I can tell the Zimbra server to allow emails from my svn server either by IP address or some other way? Here is the header of one such email (domains and IPs replaced to protect the innocent):

Code:
Return-Path: www-data@devsvn.mydomain.com
Received: from 192.168.100.124 (LHLO mail.mydomain.com) (192.168.100.124)
 by mail.mydomain.com with LMTP; Tue, 12 Jan 2010 10:12:39 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
	by mail.mydomain.com (Postfix) with ESMTP id 32C5B4C7A128
	for <user@mydomain.com>; Tue, 12 Jan 2010 10:12:39 -0500 (EST)
X-Virus-Scanned: amavisd-new at 
X-Spam-Flag: YES
X-Spam-Score: 2.257
X-Spam-Level: **
X-Spam-Status: Yes, score=2.257 tagged_above=-10 required=1 tests=[AWL=0.763,
	BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188, RCVD_IN_PBL=0.905]
Received: from mail.mydomain.com ([127.0.0.1])
	by localhost (mail.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id x5WDbNfAUgCN for <user@mydomain.com>;
	Tue, 12 Jan 2010 10:12:38 -0500 (EST)
Received: from devsvn.mydomain.com (dev.mydomain.com [174.143.999.999])
	by mail.mydomain.com (Postfix) with ESMTP id DF4D74C78A92
	for <user@mydomain.com>; Tue, 12 Jan 2010 10:12:38 -0500 (EST)
Received: by devsvn.mydomain.com (Postfix, from userid 33)
	id A9382C38242; Tue, 12 Jan 2010 10:12:40 -0500 (EST)
MIME-Version: 1.0
X-Mailer: SVN::Notify 2.79: http://search.cpan.org/dist/SVN-Notify/
From: user@devsvn.mydomain.com
Errors-To: user@devsvn.mydomain.com
To: user@mydomain.com
Subject: SPAM:[3854] Re: Trac #600 -- added check for Subject Front Angled
	View file
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-Id: <20100112151240.A9382C38242@devsvn.mydomain.com>
Date: Tue, 12 Jan 2010 10:12:40 -0500 (EST)
__________________
5.0.7_GA_2444.RHEL5_64_20080626020449 RHEL5_64 FOSS edition
Reply With Quote
  #2 (permalink)  
Old 01-12-2010, 07:45 AM
Moderator
 
Posts: 7,928
Default

Code:
X-Spam-Status: Yes, score=2.257 tagged_above=-10 required=1 tests=[AWL=0.763,
	BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188, RCVD_IN_PBL=0.905]
Wow! for a start do you really tag spam with a score of 1 You should also fix your SpamAssassin. Search the forums for FH_DATE_PAST_20XX especially with tagging at such a low score
__________________
Reply With Quote
  #3 (permalink)  
Old 01-12-2010, 07:48 AM
Active Member
 
Posts: 33
Default

Thanks, while I have control over the server I did not actually do the setup. It was installed by a different contractor. I'm sorta taking over so I'll take your advice and read up on that.
__________________
5.0.7_GA_2444.RHEL5_64_20080626020449 RHEL5_64 FOSS edition
Reply With Quote
  #4 (permalink)  
Old 01-12-2010, 07:55 AM
Moderator
 
Posts: 7,928
Default

On your Zimbra server post the following
Code:
su - zimbra
zmcontrol -v
zmprov gacf zimbraSpamTagPercent zimbraSpamKillPercent
__________________
Reply With Quote
  #5 (permalink)  
Old 01-12-2010, 07:59 AM
Active Member
 
Posts: 33
Default

Code:
Release 5.0.7_GA_2444.RHEL5_64_20080626020449 RHEL5_64 FOSS edition
zimbraSpamKillPercent: 75
zimbraSpamTagPercent: 5
__________________
5.0.7_GA_2444.RHEL5_64_20080626020449 RHEL5_64 FOSS edition
Reply With Quote
  #6 (permalink)  
Old 01-12-2010, 08:07 AM
Moderator
 
Posts: 7,928
Default

The tag is very low indeed. You should have a read through Zimbra MTA - Zimbra :: Wiki

It is possible the previous admin wished the tag score to actually be 5 but did not realise the value should be specified as a percentage of 20 (100%). If that is the case to change it
Code:
su - zimbra
zmprov mcf zimbraSpamTagPercent 5
zmamavisdctl restart
You should also read Critical Security Issue if not already done so and look to perform a upgrade soon.
__________________
Reply With Quote
  #7 (permalink)  
Old 01-12-2010, 08:12 AM
Active Member
 
Posts: 33
Default

Thanks a lot for the assistance. I am mostly a developer and was trying to get svn notify emails to work. This lead me into this spider hole so I'll pass this information along to my client and he can decide if he wants me or someone else to update and/or upgrade the server. It's an incredibly high volume server so there's nothing I can do during business hours anyway. I'll see about making these spam updates tonight after COB. Your help is most appreciated.
__________________
5.0.7_GA_2444.RHEL5_64_20080626020449 RHEL5_64 FOSS edition
Reply With Quote
  #8 (permalink)  
Old 01-12-2010, 08:15 AM
Moderator
 
Posts: 7,928
Default

To save you some time [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.