How Do I Update the Received From <IP Address> in Email Header?


New Member
The MailWizz software is installed on a dedicated server with multiple other domains and IPs. The software is using its own dedicated IP address. The issue I am having is that when MailWizz connects to the external SMTP server it is connecting as the 'shared' IP and not the dedicated IP address. Currently the system is using SwiftMailer, is there a way to configure SwiftMailer to use the outgoing dedicated IP address of the MailWizz system for the Received: from ([x.x.x.x]) line?

Thanks for the help.

Received: from ([x.x.x.x])
        by (Advanced Mail Server v1.5) with ASMTP id 201705031246019967
        for <>; Wed, 03 May 2017 12:46:01 -0500
Return-Path: <>
Message-ID: <>
Date: Wed, 03 May 2017 17:46:10 +0000
Subject: Re: This is the subject
From: From Person <>
Reply-To: From Person <>
To: "" <>
MIME-Version: 1.0
Content-Type: multipart/alternative;
X-Report-Abuse: Please report abuse for this campaign here:
X-Obta-Tracking-Did: 2
X-Obta-Subscriber-Uid: eb893sktd33a9
X-Obta-Mailer: SwiftMailer - 5.4.x
X-Obta-Delivery-Sid: 2
X-Obta-Customer-Uid: za751clqnh8ed
X-Obta-Customer-Gid: 1
X-Obta-Campaign-Uid: ml113d22er9de
Precedence: bulk
List-Unsubscribe: <>
List-Id: ts139jcg9rf56 <Test List>
Feedback-ID: ml113d22er9de:eb893sktd33a9:ts139jcg9rf56:za751clqnh8ed
Not that i am aware of, mailwizz has no idea what ip will be using for outgoing connections, maybe you can use iptables to route the traffic to the desired ip address, but that is tricky too.
Agreed, the IPTables would be tricky. I am surprised there is no way to configure the connection to use the dedicated IP address of the MailWizz application. I assume this would have to do with SwiftMailer? Do you recommend working with that mailer?
email submission source. not the email sending IP/Hostname, right? Not sure which MTA software you use. but I think you can remove the header from there.

I think if you can re-route your mail traffic after it submitted from mailwizz to localhost then to your MTA? maybe it will work.. something like this maybe?

Received: from ( by id h3bqra2akecc for <>; Tue, 16 May 2017 12:49:18 +0000 (envelope-from <>)
@sendizo - not sure how i missed this last year ;) - you are right, i did mean the submission source - the "Received from" - how do update this in the additional headers location in the delivery server so it shows that it is sending from instead of the shared IP on the server?
hahahah - it happens - Would you believe that looking into this Received: "Header" very recently. Unfortunately - I was not able to achieve anything.

Received: from ( by id hcnncq2ddl4o for <iss*******> this is the host used for EHLO in SMTP communications. the IP which the connection made from.

maybe tunnuling will work? I am suggesting, i dunno how to accomplish that.

I ended up completely remove that header. I m hiding that header from MTA software. I d love to know how to work something out to show MTA IP and host.

Good day sir.