| Main Archive Page > Month Archives > postfix-users archives |
On Sep 29, 2011, at 7:07 PM, Wietse Venema wrote:
> Cameron Smith:
>>
>> On Sep 29, 2011, at 5:48 PM, Wietse Venema wrote:
>>
>>> Cameron Smith:
>>>> For my system would like the domain name listed there to be the
>>>> domain that lives on that IP but the headers show:
>>>> Received: from www.alwaysbuywholesale.com (unknown [74.63.3.132]) ....
>>>
>>> $ host 74.63.3.132
>>> 132.3.63.74.in-addr.arpa domain name pointer alwaysbuywholesale.com.
>>>
>>> $ host -t a alwaysbuywholesale.com.
>>> alwaysbuywholesale.com has address 74.63.3.132
>>>
>>> Therefore, the SMTP client on 74.63.3.132 should announce itself
>>> as alwaysbuywholesale.com instead of www.alwaysbuywholesale.com.
>>>
>>> Wieste
>>
>> Thank you Weitse :)
>>
>> So if I change my PTR for that IP to www.alwaysbuywholesale.com
>> I will no longer get the mismatch error?
>
> There is no mis-match in the DNS lookups.
>
> Wietse
Viktor had already helped me fix the "unknown" issue.
Here is an example Received header for a domain with a dedicated IP of 74.63.3.132 :)
Received: from www.alwaysbuywholesale.com (www.alwaysbuywholesale.com [74.63.3.132]) by vps.velvetpixel.net
The mismatch issue I mentioned I am still trying to solve is:
server
vps.velvetpixel.net
74.63.2.190
telnet 74.63.2.190 smtp
Trying 74.63.2.190...
Connected to vps.velvetpixel.net.
Escape character is '^]'.
220 vps.velvetpixel.net ESMTP Postfix <-- this is s match!!!
virtual host with dedicated IP
alwaysbuywholesale.com
74.63.3.132
telnet 74.63.3.132 smtp
Trying 74.63.3.132...
Connected to alwaysbuywholesale.com.
Escape character is '^]'.
220 vps.velvetpixel.net ESMTP Postfix <--This is not a match :(
How do I change the SMTP banner for just the vhost dedicated IP 74.63.3.132 to 220 www.alwaysbuywholesale.com ESMTP Postfix and still keep the correct banner of 220 vps.velvetpixel.net ESMTP Postfix for 74.63.2.190?
I can update my PTR for 74.63.3.132 so it is www.alwaysbuywholesale.com instead of alwaysbuywholesale.com but how do I change the banner for that dedicated IP so it then matches www.alwaysbuywholesale.com?
Cameron