Results 1 to 6 of 6

Thread: Remove localhost from mail headers

  1. #1
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    6

    Default Remove localhost from mail headers

    Hi all,
    We have a problem with hotmail and yahoo. Our mails dropping to junk folder and also hotmail rejected our server 2 times. I've contacted the postmaster.live.com, they are removed from block list. Our mail headers contains 127.0.0.1, is it causing spam?How can i remove local ip from the header?

    we have a spf record and rdns entry.

    Delivered-To: xxxxxxxxx@gmail.com
    Received: by 10.103.252.2 with SMTP id e2cs213259mus;
    Sat, 31 Oct 2009 04:45:19 -0700 (PDT)
    Received: by 10.204.154.207 with SMTP id p15mr1991514bkw.202.1256989518899;
    Sat, 31 Oct 2009 04:45:18 -0700 (PDT)
    Return-Path: <destek@site.com>
    Received: from mail01.site.com (mail01.site.com [89.149.209.17])
    by mx.google.com with ESMTP id 5si10319729bwz.23.2009.10.31.04.45.18;
    Sat, 31 Oct 2009 04:45:18 -0700 (PDT)
    Received-SPF: pass (google.com: domain of destek@site.com designates 89.149.209.17 as permitted sender) client-ip=89.149.209.17;
    Authentication-Results: mx.google.com; spf=pass (google.com: domain of destek@site.com designates 89.149.209.17 as permitted sender) smtp.mail=destek@site.com
    Received: from localhost (localhost.localdomain [127.0.0.1])
    by mail01.site.com (Postfix) with ESMTP id C66492A84F2
    for <xxxxxxxx@gmail.com>; Sat, 31 Oct 2009 13:44:03 +0200 (EET)
    X-Virus-Scanned: amavisd-new at site.com
    Received: from mail01.site.com ([127.0.0.1])
    by localhost (mail01.site.com [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id TRweoWX6cN24 for <xxxxxxxx@gmail.com>;
    Sat, 31 Oct 2009 13:44:03 +0200 (EET)
    Received: from www.site.com (unknown [188.132.167.3])
    by mail01.site.com (Postfix) with ESMTPA id 2E6A42A84EF
    for <xxxxxxxx@gmail.com>; Sat, 31 Oct 2009 13:44:03 +0200 (EET)
    Date: Sat, 31 Oct 2009 13:45:17 +0200
    To: xxxxxxxx@gmail.com
    From: site <destek@site.com>
    Reply-to: site <no-reply@site.com>
    Subject: Destek Ekibi
    Message-ID: <270dd05b62425a5a852edc6ec030918b@www.site.com>
    X-Priority: 3
    X-Mailer: PHPMailer (phpmailer.codeworxtech.com) [version 2.3]
    MIME-Version: 1.0
    Content-Transfer-Encoding: 8bit
    Content-Type: text/html; charset="UTF-8"

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by letreset View Post
    Hi all,
    We have a problem with hotmail and yahoo. Our mails dropping to junk folder and also hotmail rejected our server 2 times. I've contacted the postmaster.live.com, they are removed from block list. Our mail headers contains 127.0.0.1, is it causing spam?How can i remove local ip from the header?

    we have a spf record and rdns entry.
    You shouldn't have any problem sending to yahoo or gmail, my server also has localhost and the loopback ip and it doesn't cause problems You might want to mark the first couple of emails that get in the Junk folder as 'not spam' in your gmail account.

    I did notive that this IP is different from your mail server IP, any particular reason for that?

    Code:
    Received: from www.site.com (unknown [188.132.167.3])
    by mail01.site.com (Postfix) with ESMTPA id 2E6A42A84EF
    for <xxxxxxxx@gmail.com>; Sat, 31 Oct 2009 13:44:03 +0200 (EET)
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    6

    Default

    Thanks for your help.
    We are using php smtp class for sending mails. This ip is our web server. is there any way to remove this line.

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    You could try something like this in postfix_header_checks.in :-

    Code:
    /^Received: from www\.site\.com (unknown [188\.\132\.167\.3])/ IGNORE

  5. #5
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    > also hotmail rejected our server 2 times

    What are the bounce message from Hotmail ?

  6. #6
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    6

    Default

    Quote Originally Posted by veronica View Post
    > also hotmail rejected our server 2 times

    What are the bounce message from Hotmail ?
    Nov 2 12:31:59 mail01 postfix/smtp[19449]: 82767834556: to=<furkanxbaba@hotmail.com>, relay=mx3.hotmail.com[65.55.37.120]:25, delay=0.82, delays=0.02/0.02/0.6/0.18, dsn=5.0.0, status=bounced (host mx3.hotmail.com[65.55.37.120] said: 550 SC-001 Mail rejected by Windows Live Hotmail for policy reasons. Reasons for rejection may be related to content with spam-like characteristics or IP/domain reputation problems. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit MSN Postmaster for email delivery information and support (in reply to MAIL FROM command))
    Nov 2 12:31:59 mail01 postfix/smtp[19449]: 82767834556: lost connection with mx3.hotmail.com[65.55.37.120] while sending RCPT TO
    Nov 2 12:31:59 mail01 postfix/cleanup[27656]: 57865834557: message-id=<20091102103159.57865834557@mail01.site.com>

Similar Threads

  1. mta to not starting
    By cowanpf in forum Installation
    Replies: 2
    Last Post: 10-05-2009, 05:36 AM
  2. Large volume of spam messages; see the log
    By snake_eyes in forum Administrators
    Replies: 1
    Last Post: 12-31-2008, 06:54 AM
  3. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  4. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM
  5. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM

Posting Permissions

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