When my mailserver sends mail here are the headers:
Received: from example.com (localhost [127.0.0.1])
by example.com (Postfix) with ESMTP id EB14D48159
for <oli@myemaildomain.com>; Thu, 26 Dec 2013 11:56:12 +0000 (GMT)
This usually really isn't an issue apart from one customer's Postini filter is being particularly violent and seems to class this as an illegal address. I could fight them but it seems like it would be easier to just send email from the legal IP, right..?
So I've been through practically every Postfix setting. I have already set the following variables to example.com
: masquerade_domains
, smtp_helo_name
, myhostname
, myorigin
, and I've set smtp_bind_address
to our external IP. I don't know what else I can change that might have an effect.
How can I change the address/IP to our external address/IP?
I'm using Ubuntu 12.04, Postfix 2.9.6. I have seen and tried (as noted above) answers like those on How to make Postfix use another IP address? and I don't have any bind addresses in my master.cf file (I think that was the old way of doing things?)