Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Gmail / Yahoo Marks Mail as SPAM

  1. #1
    cam34 is offline Member
    Join Date
    Feb 2008
    Posts
    11
    Rep Power
    7

    Default Gmail / Yahoo Marks Mail as SPAM

    Hi Guys,
    2 problems Im having

    1). With my Zimbra install, any out going mail to gmail / yahoo is marked as SPAM.
    I think it is because of the SPAM checking does. EG. Hostname and IP addresses not matching up. Here are the Headers from the yahoo spam check:

    Code:
    X-Apparently-To:	 c.mck@yahoo.co.nz via 124.108.96.94; Thu, 10 Apr 2008 13:35:02 -0700
    X-YahooFilteredBulk:	12X.XXX.40.43
    X-Originating-IP:	[12X.XXX.40.43]
    Return-Path:	
    Authentication-Results:	mta107.tnz.mail.aue.yahoo.com from=MYDOMAIN.info; domainkeys=neutral (no sig)
    Received:	from 12X.XXX.40.43 (EHLO mail.MYDOMAIN.info) (12X.XXX.40.43) by mta107.tnz.mail.aue.yahoo.com with SMTP; Thu, 10 Apr 2008 13:35:02 -0700
    Received:	from localhost (localhost [127.0.0.1]) by mail.MYDOMAIN.info (Postfix) with ESMTP id 976934C0B7 for ; Fri, 11 Apr 2008 18:20:42 +1200 (NZST)
    X-Virus-Scanned:	amavisd-new at
    X-Spam-Flag:	NO
    X-Spam-Score:	-4.399
    X-Spam-Level:	
    X-Spam-Status:	No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599]
    Received:	from mail.MYDOMAIN.info ([127.0.0.1]) by localhost (mail.MYDOMAIN.info [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u+xGjZsqK3Wu for ; Fri, 11 Apr 2008 18:20:41 +1200 (NZST)
    Received:	from mail.MYDOMAIN.info (mail.MYDOMAIN.info [127.0.1.1]) by mail.MYDOMAIN.info (Postfix) with ESMTP id A1B4E4C0AC for ; Fri, 11 Apr 2008 18:20:41 +1200 (NZST)
    Date:	Fri, 11 Apr 2008 18:20:41 +1200 (NZST)
    From:	"Cam Mck"   Add to Address BookAdd to Address Book
    To:	"c mck" 
    Message-ID:	<28565961.01207894841164.JavaMail.root@mail>
    In-Reply-To:	<20080410223304.6BF8B4C101@mail.MYDOMAIN.info>
    Subject:	Re:
    MIME-Version:	1.0
    Content-Type:	text/plain; charset=utf-8
    Content-Transfer-Encoding:	7bit
    X-Originating-IP:	[192.168.1.22]
    Content-Length:	190
    I think lines like: X-Originating-IP: [192.168.1.22] and Received: from mail.MYDOMAIN.info (mail.MYDOMAIN.info [127.0.1.1]) and Received: from localhost (localhost [127.0.0.1]) by mail.MYDOMAIN.info

    are causing the SPAM check failures? This is because my setup is behind NAT.

    2). Also I have to open port 7025 up for mail to reach my inboxes, where do i need to change so that it looks at 127.0.0.1 (or host name mail) instead of mail.MYDOMAIN.info


    **Details changed to protect the Innocent.**

    Zimbra Version - 5 Pre Compiled Binaries zcs-5.0.4_GA_2101.DEBIAN4.0.20080321134307.tgz
    Last edited by cam34; 04-10-2008 at 05:30 PM.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    That message isn't marked as spam, it doesn't even meet the required score. Why do you think gmail/yahoo is marking it as spam, those headers don't show anything being marked as spam. I don't have any problems sending mail to gmail or yahoo from my own server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    cam34 is offline Member
    Join Date
    Feb 2008
    Posts
    11
    Rep Power
    7

    Default

    I know it isn't "marked" as spam but it goes into my spam folder on both yahoo and gmail accounts.

    I still believe this is because host names and ip addresses aren't matching. (Private IP addresses being used)

  4. #4
    cam34 is offline Member
    Join Date
    Feb 2008
    Posts
    11
    Rep Power
    7

    Default

    Where as If I change the "relay for external delivery" via the global settings,
    My emails arrive in yahoo inbox first pop.

    Here are the headers from mail relayed through my ISP smtp server
    Tell me if you can spot the difference and how to change it for my setup....yes I 'could' leave my email to be relayed but I would never answer my question (I would just have found a workaround)

    Code:
    X-Apparently-To:	 c.mck@xtra.co.nz via 124.108.96.93; Fri, 11 Apr 2008 01:53:10 -0700
    X-Originating-IP:	[202.37.101.8]
    Return-Path:	
    Authentication-Results:	mta106.tnz.mail.aue.yahoo.com from=MYDOMAIN.info; domainkeys=neutral (no sig)
    Received:	from 202.37.101.8 (EHLO viper.snap.net.nz) (202.37.101.8) by mta106.tnz.mail.aue.yahoo.com with SMTP; Fri, 11 Apr 2008 01:53:10 -0700
    Received:	from mail.MYDOMAIN.info (43.XXX.XXX.123.static.snap.net.nz [123.XXX.XXX.43]) by viper.snap.net.nz (Postfix) with ESMTP id 85A873DA20D; Fri, 11 Apr 2008 20:53:09 +1200 (NZST)
    Received:	from localhost (localhost [127.0.0.1]) by mail.MYDOMAIN.info (Postfix) with ESMTP id 6B5484C0FA; Sat, 12 Apr 2008 04:06:05 +1200 (NZST)
    X-Virus-Scanned:	amavisd-new at
    X-Spam-Flag:	NO
    X-Spam-Score:	-2.499
    X-Spam-Level:	
    X-Spam-Status:	No, score=-2.499 tagged_above=-10 required=6.6 tests=[BAYES_00=-2.599, RDNS_NONE=0.1]
    Received:	from mail.MYDOMAIN.info ([127.0.0.1]) by localhost (mail.MYDOMAIN.info [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wkyNdCO0s-rD; Sat, 12 Apr 2008 04:05:58 +1200 (NZST)
    Received:	from mail.MYDOMAIN.info (localhost [127.0.0.1]) by mail.MYDOMAIN.info (Postfix) with ESMTP id 7DAC04C0A2; Sat, 12 Apr 2008 04:05:58 +1200 (NZST)
    Date:	Sat, 12 Apr 2008 04:05:56 +1200 (NZST)
    From:	"Cam Mck"   Add to Address BookAdd to Address Book
    To:	"cam" , "c" 
    Message-ID:	<23970790.61207929956721.JavaMail.root@mail>
    Subject:	Knoppix On Ya
    MIME-Version:	1.0
    Content-Type:	text/plain; charset=utf-8
    Content-Transfer-Encoding:	7bit
    X-Originating-IP:	[123.XXX.XXX.43]
    Content-Length:	20
    Here are the differences between the two files:
    [code]
    X-YahooFilteredBulk: 12X.XXX.40.43 <--- Non relayed message
    Return-Path: <--- Non relayed message
    Return-Path:
    Received: from localhost (localhost [127.0.0.1]) by mail.MYDOMAIN.info (Postfix) with ESMTP id 976934C0B7 for ; Fri, 11 Apr 2008 18:20:42 +1200
    Received: from localhost (localhost [127.0.0.1]) by mail.MYDOMAIN.info
    Received: from mail.MYDOMAIN.info (43.XXX.XXX.123.static.snap.net.nz [123.XXX.XXX.43]) by viper.snap.net.nz (Postfix) with ESMTP id 85A873DA20D; Fri, 11 Apr 2008 20:53:09 +1200 (NZST) <---- Relayed Message


    I still fully believe the slightly incorrect headers are the issue for the mis-diagnosed spam.
    Maybe a postfix setting needs to be modified

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    Quote Originally Posted by cam34 View Post
    I still fully believe the slightly incorrect headers are the issue for the mis-diagnosed spam.
    If that were the case then nobody using ZImbra would be able to send mail to yahoo or gmail. Do you have a reverse DNS for the server? Is the user sending this mail via the Web UI or a client?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    cam34 is offline Member
    Join Date
    Feb 2008
    Posts
    11
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    If that were the case then nobody using ZImbra would be able to send mail to yahoo or gmail. Do you have a reverse DNS for the server? Is the user sending this mail via the Web UI or a client?
    No i dont have reverse dns. if you do a reverse lookup on my IP it comes back with my ISPs ADSL reverse lookup.

    Actually i removed the line: 127.0.1.1 mail.MYDOMAIN.info mail
    from my hosts file and now gmail arrives ok but yahoo still identifies as spam (from WebUI) .
    I know of some other people whos mail gets ID'd as spam from their work setup (non zimbra but linux) at yahoo (yahoo is strict)

    any answers for question 2 n post 1?

    Many Thanks

    Cam
    Last edited by cam34; 04-11-2008 at 03:43 AM.

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    Quote Originally Posted by cam34 View Post
    No i dont have reverse dns. if you do a reverse lookup on my IP it comes back with my ISPs ADSL reverse lookup.
    That's always going to cause you problems with some mail services (especially if this is a domestic ISP), you'll need a proper reverse DNS for your server.

    Quote Originally Posted by cam34 View Post
    Actually i removed the line: 127.0.1.1 mail.MYDOMAIN.info mail
    from my hosts file ....
    What is actually in your hosts file?

    Quote Originally Posted by cam34 View Post
    any answers for question 2 n post 1?
    The answer to that is, you don't. Postfix needs to do a lokup on an MX record for your domain so it can deliver the mail.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    cam34 is offline Member
    Join Date
    Feb 2008
    Posts
    11
    Rep Power
    7

    Default

    That's always going to cause you problems with some mail services (especially if this is a domestic ISP), you'll need a proper reverse DNS for your server.
    ***Bugger - How do i do that? lol

    What is actually in your hosts file?
    ***
    127.0.0.1 localhost
    127.0.0.1 mail.MYDOMAIN.info mail
    123.XXX.XXX.43 mail.MYDOMAIN.info mail

    MYDOMAIN has been changed


    The answer to that is, you don't. Postfix needs to do a lokup on an MX record for your domain so it can deliver the mail.
    ***
    So port 7025 must be open on the firewall - even though all smtp pop3 is done on the one box?

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    Quote Originally Posted by cam34 View Post
    That's always going to cause you problems with some mail services (especially if this is a domestic ISP), you'll need a proper reverse DNS for your server.
    ***Bugger - How do i do that? lol
    Unfortunately it's not possible with many ISPs, I'd suggest contacting them and see if they can change it for you (so do, some don't).

    Quote Originally Posted by cam34 View Post
    What is actually in your hosts file?
    ***
    127.0.0.1 localhost
    127.0.0.1 mail.MYDOMAIN.info mail
    123.XXX.XXX.43 mail.MYDOMAIN.info mail
    This file is completely wrong, you should have the following entries only:

    Code:
    127.0.0.1       localhost.localdomain localhost
    123.XXX.XXX.43   mail.MYDOMAIN.info  mail
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    cam34 is offline Member
    Join Date
    Feb 2008
    Posts
    11
    Rep Power
    7

    Default

    Ill try the hosts file setup. I had issues with the hosts file and LDAP not starting so I left it.

    Sorry to extract teeth but:
    So port 7025 (port 25 is open too) must be open on the firewall - even though all smtp pop3 is done on the one box? Is this true? I just hate having open ports.....

    Many thanks,

    cAm
    Ill post back in 12 hours....bed time for me thanks

    EDIT: that hosts file setup makes LDAP fail to start:
    Code:
    Apr 12 06:32:43 mail slapd[28487]: daemon: bind(7) failed errno=99 (Cannot assign requested address)
    Apr 12 06:32:43 mail slapd[28487]: slapd stopped.
    Apr 12 06:32:43 mail slapd[28487]: connections_destroy: nothing to destroy.
    EDIT 2 - It cant BIND to 123.XXX.XXX.43 because that is my external address, should I put my Internal address on that line instead? (192.168.1.29)?
    Last edited by cam34; 04-11-2008 at 05:18 AM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •