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