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.

Email sent through phpmailer does not show actual IP address

Discussion in 'E-mail Discussions' started by smshuja, Jul 27, 2006.

  1. smshuja

    smshuja Member

    Joined:
    Jul 26, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai, United Arab Emirates, United Arab Emirates
    Hi,
    I have some websites which have different IP Addresses on the server. But when an email is sent using phpmailer it does not mention the IP Address of this website but shows the host name of the server in the header.

    is there a way where all emails from a particular website should show only its dedicated IP Address in the header?

    it also shows the server hostname as the original domain.

    Thanks in advance.
    Shuja

    here is the header
    Code:
    Microsoft Mail Internet Headers Version 2.0
    X-Brightmail-Tracker: AAAAAQAAA+k=
    thread-index: Acaxh7M81Ed7K7szQOeIE4ztpGm0Ew==
    X-Language-Identified: TRUE
    Received: from linux2.flipcorp.com ([216.120.237.22]) by smtp2.flipcorp.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 27 Jul 2006 18:19:40 +0400
    Received: from nobody by linux2.flipcorp.com with local (Exim 4.52) id 1G66i8-00073d-Di for shuja@flipcorp.com; Thu, 27 Jul 2006 10:19:36 -0400
    Content-Transfer-Encoding: 7bit
    To: <tester@example.com>
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663
    Content-Class: urn:content-classes:message
    Subject: Thank you very much for your registration. 
    Importance: normal
    Priority: normal
    Received: from phpmailer ([80.227.108.146])  by www.example.com with HTTP (PHPMailer); Thu, 27 Jul 2006 10:19:36 -0400
    Date: Thu, 27 Jul 2006 10:19:36 -0400
    From: "Example admin" <admin@example.com>
    Message-ID: <e19b000918158aad650eb0c46fb7ed77@www.example.com>
    X-Priority: 3
    X-Mailer: PHPMailer [version 1.71]
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    	boundary="b1_e19b000918158aad650eb0c46fb7ed77"
    Sender: "Nobody" <nobody@linux2.flipcorp.com>
    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname - linux2.flipcorp.com
    X-AntiAbuse: Original Domain - flipcorp.com
    X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12]
    X-AntiAbuse: Sender Address Domain - linux2.flipcorp.com
    X-Source: 
    X-Source-Args: 
    X-Source-Dir: 
    Return-Path: <nobody@linux2.flipcorp.com>
    
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    the server will always relay mail from the primary IP, regardless of which IP the site is on
     
  3. smshuja

    smshuja Member

    Joined:
    Jul 26, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai, United Arab Emirates, United Arab Emirates
    Thanks a lot for the reply nick,
    Is there anyway by which only the site IP is shown in the email instead of the Primary IP address? will using smtp help?
     
  4. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    unfortunatly not, mail will only relay from the primary IP, none of the others
     
Loading...

Share This Page