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 02-21-2011, 06:41 AM
Junior Member
 
Posts: 7
Default Gmail Mark Spam

Hi,

have a problem with mail outgoing from my Zimbra server to Gmail, it mark spam my mail.

In order i search on forum a workaround for this problem, i find more post, but i don't have resolve my problem.
This is my situation in specify (domain.it is an example) :

Code:
zmcontrol -v

Release 6.0.10_GA_2692.RHEL5_64_20101215170845 CentOS5_64 FOSS edition.
Hostname (ok)
Code:
hostname -f
mail.domain.it
Hosts
Code:
127.0.0.1		localhost.localdomain localhost
::1		localhost6.localdomain6 localhost6
192.168.xxx.xxx mail.domain.it mail
Revers Dns (ok) My Server is behind NAT
Code:
dig -x 79.39.xxx.xxx
;; ANSWER SECTION:
96.106.xx.xx.in-addr.arpa. 86400 IN	PTR	mail.domain.it.
In main.cf ther is
Code:
header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
postfix_masquerade_domains = mail.domain.it
/opt/zimbra/conf/postfix_header_checks.in
Code:
%%uncomment VAR:zimbraMtaBlockedExtension%%/filename=\"?(.*)\.(%%list VAR:zimbraMtaBlockedExtension |%%)\"?$/
%%uncomment VAR:zimbraMtaBlockedExtension%%	REJECT For security reasons we reject attachments of this type
%%uncomment VAR:zimbraMtaBlockedExtension%%/^\s*Content-(Disposition|Type).*name\s*=\s*"?(.+\.(%%list VAR:zimbraMtaBlockedExtension |%%))"?\s*$/
%%uncomment VAR:zimbraMtaBlockedExtension%%	REJECT Attachment type not allowed. File "$2" has the unacceptable extension "$3"
/^Received: from .+\..+\.domain\.it .+(by mail\.domain\.it .+) / REPLACE Received: $1
Header of mail in incoming from Zimbra to Gmail
Code:
Delivered-To: mail@gmail.com
Received: by 10.223.164.75 with SMTP id d11cs257582fay;
        Mon, 21 Feb 2011 06:21:45 -0800 (PST)
Received: by 10.227.132.69 with SMTP id a5mr1218011wbt.123.1298297613961;
        Mon, 21 Feb 2011 06:13:33 -0800 (PST)
Return-Path: <xxxx@domain.it>
Received: from mail.domain.it (mail.domain.it [79.39.xx.xx])
        by mx.google.com with ESMTP id y20si7654988wbh.78.2011.02.21.06.13.32;
        Mon, 21 Feb 2011 06:13:32 -0800 (PST)
Received-SPF: pass (google.com: domain of xxxx@domain.it designates 79.39.xx.xx as permitted sender) client-ip=79.39.xx.xx;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of xxxx@domain.it designates 79.39.xx.xx as permitted sender) smtp.mail=xxxx@domain.it
Received: from localhost (localhost.localdomain [127.0.0.1])
        by mail.domain.it (Postfix) with ESMTP id 6A3BA13E403A
        for <mail@gmail.com>; Mon, 21 Feb 2011 15:13:31 +0100 (CET)
X-Virus-Scanned: amavisd-new at domain.it
Received: from mail.domain.it ([127.0.0.1])
        by localhost (mail.domain.it [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id 6dFzGT3Z+Ib4 for <mail@gmail.com>;
        Mon, 21 Feb 2011 15:13:31 +0100 (CET)
Received: by mail.domain.it (Postfix) with ESMTP id 1206613E4039
        for <mail@gmail.com>; Mon, 21 Feb 2011 15:13:31 +0100
Date: Mon, 21 Feb 2011 15:13:30 +0100 (CET)
From: xxxx <xxxx@domain.it>
To: mail@gmail.com
Message-ID: <786904912.2.1298297610956.JavaMail.root@mail.domain.it>
Subject: test3
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - SAF3 (Linux)/6.0.10_GA_2692)
test3
If i send the same mail from Zimbra domain.it to another Server Zimbra i recived:
Code:
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level: 
X-Spam-Status: No, score=-1.911 tagged_above=-10 required=6.6
	tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]
	autolearn=ham
My pubblic Ip isn't listen in any blacklist i use this website for query to BL MX Lookup Tool - Check your DNS MX Records online - MxToolbox

So, now i have no idea for a workaround.
There is no one wants to help me ?

Thanks a lot

Last edited by scorpionibm; 02-21-2011 at 07:36 AM..
Reply With Quote
  #2 (permalink)  
Old 02-21-2011, 08:49 AM
Moderator
 
Posts: 1,554
Default

maybe try something like this?

Email Server Test All About SPAM
Reply With Quote
  #3 (permalink)  
Old 02-21-2011, 02:32 PM
Junior Member
 
Posts: 7
Default

Quote:
maybe try something like this?

Email Server Test All About SPAM
Thanks for reply, very interested link.

I found a problem, report from "allaboutspam":
my email scored <5.5> whereas an ideal score will be less than <5>.

Code:
Your Email was classified as SPAM as it failed the following tests
BAYES_00
LOCALPART_IN_SUBJECT
RATWARE_RCVD_PF
SPF_PASS
TVD_SPACE_RATIO
This is very strage, now i perform a send test to a mailserver with Postfix and SpamAss. (No Zimbra), for read the header and see the score of spamassassin.

But the question is: "Why with an external server whit Zimbra my score is -1.9 ?" (frist post).

I don't understand...
After test i post the result.
Reply With Quote
  #4 (permalink)  
Old 02-21-2011, 02:46 PM
Junior Member
 
Posts: 7
Default

I perform a test to a server with Postfix, Amavis and Spamassasin and my mail is not
mark as spam.

I found another website for testing a mail from and my score is 0.3 .
I'm very confused. (flashmarketing spamassassin)

From allaboutspam the next problem report (not critical (yellow color) is:

Code:
Email does not contain any DKIM/Domain Keys Signature and the published Domain Keys policy does not specify whether to accept or reject unsigned Emails. Signing your Outbound emails and clearly specifying a policy to accept signed emails will minimize chances of your Email being considered as SPAM.
and
Code:
Email server is not using BATV format while sending out emails. BATV is recommended to ensure that your users do not become a victim of bounce floods.
The last change on my configuration is for amavis.conf.in
Code:
$sa_tag_level_deflt  = 3.0;  # add spam info headers if at, or above that level
This beacause i don't want a header check spam for Clean messages.

But the problem is still present, with Gmail and Hotmail.

There are some people who have an idea ? Thanks

Last edited by scorpionibm; 02-21-2011 at 03:50 PM..
Reply With Quote
  #5 (permalink)  
Old 02-23-2011, 07:35 AM
Junior Member
 
Posts: 7
Unhappy

i have no idea,
i'm alone with this problem ? really ?
Reply With Quote
  #6 (permalink)  
Old 02-25-2011, 02:56 AM
Junior Member
 
Posts: 7
Default

I removed from header in outgoing (trought postfix_header_check)

this:
Code:
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - SAF3 (Linux)/6.0.10_GA_2692)
But the problem of spam still continue.
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.