Results 1 to 3 of 3

Thread: Why Secondary domain sending mail from primary domain?

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Question Why Secondary domain sending mail from primary domain?

    Hi,
    My default domain(domain1.com) is working fine for both sending and receiving. Now i just added secondary domain domain2.com from admin GUI.

    Now if i send mail from secondary domain (domain2.com) to anyone then the header showing domain1.com instead of domain2.com in 'Received: from' , why this?

    what can i do so that mail from domain2.com have domain2.com in 'Received: from' header ?
    Also there are 3 'Received: from' entries in my header , how can i read them

    Below is my header.
    Return-Path: <user1@domain2.com>
    Received: from mail.domain1.com (mail.domain1.com [203.77.192.112])
    by mx.google.com with ESMTP id u4si6828427wak.83.2010.07.26.00.26.08;
    Mon, 26 Jul 2010 00:26:08 -0700 (PDT)
    Received-SPF: pass (google.com: domain of user1@domain2.com designates 203.77.192.112 as permitted sender) client-ip=203.77.192.112;
    Authentication-Results: mx.google.com; spf=pass (google.com: domain of user1@domain2.com designates 203.77.192.112 as permitted sender) smtp.mail=user1@domain2.com
    Received: from localhost (localhost.localdomain [127.0.0.1])
    by mail.domain1.com (Postfix) with ESMTP id D5F271679BFC
    for <user1@gmail.com>; Mon, 26 Jul 2010 12:59:40 +0530 (IST)
    X-Virus-Scanned: amavisd-new at domain1.com
    Received: from mail.domain1.com ([127.0.0.1])
    by localhost (mail.domain1.com [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id o-Q+rNMpkr8B for <user1@gmail.com>;
    Mon, 26 Jul 2010 12:59:40 +0530 (IST)
    Received: from mail.domain1.com (mail.domain1.com [192.168.0.200])
    by mail.domain1.com (Postfix) with ESMTP id 5A2341679BF6
    for <user1@gmail.com>; Mon, 26 Jul 2010 12:59:40 +0530 (IST)
    Date: Mon, 26 Jul 2010 12:59:40 +0530 (IST)
    From: user1@domain2.com
    To: user1@gmail.com

    Based on above header if someone want to block my domain2.com then how and which 'Received: from' address he will block?
    Last edited by sadiq007; 07-26-2010 at 03:47 AM. Reason: update

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

    Default

    The SMTP header will always show the primary domain of the sending Zimbra server as the IP address will resolve to that by the rDNS entry.

  3. #3
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    Thanx Ux,
    As my primary domain is our regulaer mailing domain(domain1.com) and i just added secodnary domain (domain2.com) for bulk-mailing , so as per you mail from both primary and secondary domain will always show primary domain in SMTP header but receiving mail-server will resove my domians Ip address using reverse DNS... so if mail from domain1.com then it will resolve IP address from its MX record mail.domain1.com and mail from domain2.com then it will resolve IP address from its MX record mail.domain2.com, so in that case if something like spamming etc done from my domain2.com mail id then only IP address of its MX record mail.domain2.com will be blocked by receiving Mail server even the SMTP header showing mail received from domain1.com .
    AM I RIGHT ? plz correct me
    Last edited by sadiq007; 07-27-2010 at 05:43 AM. Reason: edit

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. [SOLVED] Cannot receive incoming mail but can send.
    By windependence in forum Administrators
    Replies: 2
    Last Post: 03-23-2010, 03:43 AM
  3. Clients stopped receiving emails
    By egadinc in forum Administrators
    Replies: 16
    Last Post: 12-14-2009, 03:38 PM
  4. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 07:47 AM
  5. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 12:44 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
  •