[CentOS] dumb sendmail question -- how to get outbound messages to use "example.com" instead of hostname?
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
> have a host name the world sees and does that name then resolve to
> the same IP
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS