On Thu, Sep 29, 2011 at 02:29:16PM -0700, Cameron Smith wrote:

> >> How can I make the SMTP hostname greeting for those IPs match the domains?
> > 
> > No need.
> > 
> >> 192.0.43.11:smtp inet n - n - - smtpd -o myhostname=domainone.com
> >> 192.0.43.12:smtp inet n - n - - smtpd -o myhostname=domaintwo.com
> >> 192.0.43.13:smtp inet n - n - - smtpd -o myhostname=domainthree.com
> > 
> > This works to a degree, but you don't want this.
> > 
> > The greeting name of the SMTP server is never recorded in message
> > headers. Receiving systems will record the DNS name associated with
> > the outgoing client IP and the EHLO name sent by your Postfix SMTP client.
> > 
> > If your IPs don't resolve (on the public internet) to PTRs that
> > resolve back to the same names, fix that.

> Received:  from mournblade.imrryr.org (mournblade.imrryr.org 
> [208.77.212.107]) by russian-caravan.cloud9.net 

The host "russian-caravan.cloud9.net" was able to resolve the IP address to
a hostname which matched the IP.

> 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]) by 
> vps.velvetpixel.net 

The  host "vps.velvetpixel.net" was unable to resolve the IP address
"74.63.3.132" to a hostname which matched the IP.

> Is this a DNS issue or a Postfix configuration issue?

DNS. You may want to set "smtp_helo_name=alwaysbuywholesale.com" since that's
your system's name, but this has no effect on the "unknown" issue.

Since the DNS data in question looks good to me, the issue is perhaps
on the vps client, but perhaps things were different at the time message
was sent, or not all your DNS servers return the same answer.

-- 
        Viktor.

Reply via email to