Postfix. Trivial Rewrite uses rDNS not $myorigin
I am currently using a 3ird party DNS service which I think might me the cause of the problem.
I am having a problem with using Canonical mapping on Postfix, it seems to be using the rDNS address in the reply to envelope / header, not $myorigin
When I send and email from a local user (not canonically mapped) the return address is fine ie
How can I change it so that canonically mapped users use $myorigin ?? At some point i will be using virtual domains so this is doubly important, can i masquerade them somehow?
Also how do I go about sorting rDNS properly, I don;t seem to be able to migrate to Linodes DNS manager properly, i will need this as SPF / rDNS will no doubt mean i get blocked at some point.
Thanks a lot fellow linoders!!
6 Replies
To configure rdns check out
I have managed to get linode to set the rDNS now, I had to add a slave DNS zone, I assume this is the correct configuration.
Also I have created a generic SMTP map, that changes mail.members.linode.com to mydomain.com. I think it's a hack but it fixes the problem for now!
mail.members.linode.com is still mentioned, I'm guessing i will have to wait for full DNS replication to occur!
You will always see your hostname in the headers of emails you should see something like this:
Return-Path: <
Received: from hostname (hostname [ipaddress])
by mx.google.com with ESMTP id q34si12325268ybk.61.2010.12.18.20.05.01;
Sat, 18 Dec 2010 20:05:02 -0800 (PST)
Received-SPF: pass (google.com: domain of
Received: by hostname (Postfix, from userid 1002)
id C219A61CD; Sun, 19 Dec 2010 04:05:01 +0000 (UTC)
To:
From:
Reply-To:
Message-Id: <20101219040501.C219A61CD@hostname>
Replacing
Assuming rDNS worked, give it 48 hours and it should show the new host name in the headers.
You will always see your hostname in the headers of emails you should see something like this:
Return-Path: <
Received: from hostname (hostname [ipaddress])
by mx.google.com with ESMTP id q34si12325268ybk.61.2010.12.18.20.05.01;
Sat, 18 Dec 2010 20:05:02 -0800 (PST)
Received-SPF: pass (google.com: domain of
Received: by hostname (Postfix, from userid 1002)
id C219A61CD; Sun, 19 Dec 2010 04:05:01 +0000 (UTC)
To:
From:
Reply-To:
Message-Id: <20101219040501.C219A61CD@hostname>
Replacing
Assuming rDNS worked, give it 48 hours and it should show the new host name in the headers.
You will always see your hostname in the headers of emails you should see something like this:
Return-Path: <
Received: from hostname (hostname [ipaddress])
by mx.google.com with ESMTP id q34si12325268ybk.61.2010.12.18.20.05.01;
Sat, 18 Dec 2010 20:05:02 -0800 (PST)
Received-SPF: pass (google.com: domain of
Received: by hostname (Postfix, from userid 1002)
id C219A61CD; Sun, 19 Dec 2010 04:05:01 +0000 (UTC)
To:
From:
Reply-To:
Message-Id: <20101219040501.C219A61CD@hostname>
Replacing
Assuming rDNS worked, give it 48 hours and it should show the new host name in the headers.