[CentOS] dumb sendmail question -- how to get outbound messages to use "example.com" instead of hostname?

Jeff Potter jpotter-centos at codepuppy.com
Mon Jul 2 20:59:10 UTC 2007



>      Since you are using NAT, the important IP address and host name
> associated with it is the one the outside world sees.  Does that IP  
> address
> have a host name the world sees and does that name then resolve to  
> the same IP
> address?

Yup -- that's what I'm trying to get sendmail to use, but it's  
insisting on using the internal hostname, inclusive of the machine  
name. I.e., "betsy.example.com" is the actual hostname, at 10.x.x.x;  
all the 10.x.x.x machines have custom /etc/hosts that define  
betsy.example.com, etc., with their 10.x.x.x IPs. When it sends email  
to the outside world, I need to to send as "example.com", dropping  
the "betsy" part.

Is this really that hard?

best,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20070702/909e5276/attachment.htm


More information about the CentOS mailing list