The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Return-path and other headers problem: remote server sending mails

Discussion in 'E-mail Discussions' started by alepaes, Mar 28, 2011.

  1. alepaes

    alepaes Member

    Joined:
    Feb 28, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Today, I took another server only to send e-mails for the domains thats resides in the first server. This second server have
    a domain only to access the software administration. The DNS of the domain stay only in the first server.
    I setup /etc/mailhelo (and turn it on on Exim configuration) in the second server, but my headers are incorrect.
    SPF and DomainKeys is correctly configured on serverA (permiting the serverB to send mails for this domain)

    *** Example:

    ServerA: 1.1.1.1
    domain: qwert.com

    ServerB: 2.2.2.2
    domain: mails.com
    host: host1.mails.com
    /etc/mailhelo
    qwert.com: qwert.com
    *: mails.com

    *** Email sent from ServerB using the same PHP test script that we have been used in ServerA:

    Delivered-To: foobar@gmail.com
    Received: by 10.216.55.141 with SMTP id k13cs117960wec;
    Mon, 28 Mar 2011 19:09:13 -0700 (PDT)
    Received: by 10.142.98.13 with SMTP id v13mr4417450wfb.279.1301364552047;
    Mon, 28 Mar 2011 19:09:12 -0700 (PDT)
    Return-Path: <mails@host1.mails.com>
    Received: from host1.mails.com (mails.com [2.2.2.2])
    by mx.google.com with ESMTPS id w31si12705800wfh.48.2011.03.28.19.09.10
    (version=TLSv1/SSLv3 cipher=OTHER);
    Mon, 28 Mar 2011 19:09:11 -0700 (PDT)
    Received-SPF: pass (google.com: domain of mails@mails.com designates 2.2.2.2 as permitted sender) client-ip=2.2.2.2;
    Authentication-Results: mx.google.com; spf=pass (google.com: domain of mails@host1.mails.com designates 2.2.2.2 as permitted sender) smtp.mail=mails@host1.mails.com
    Received: from mails by host1.mails.com with local (Exim 4.69)
    (envelope-from <mails@mails.com>)
    id 1Q4OMn-0000h6-HU
    for foobar@gmail.com; Tue, 29 Mar 2011 06:09:09 +0400
    To: foobar@gmail.com
    Subject: Test
    MIME-Version: 1.1
    Content-type: text/plain; charset=iso-8859-1
    From: news@qwert.com

    Only the FROM is ok, but the rest of the header isn't. To google the emails are sent ok. But for some destinations, the emails appears like SPAM.


    Thanks for any help !
     
Loading...

Share This Page