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

2007-07-02 Thread Jeff Potter
Hi List, I have a dumb sendmail question, and I'm wondering if anyone can point me in the right direction (besides "sendmail list is two doors down on the left" ;-). One of our clients has a bunch of servers -- CentOS 5 -- that are on only a private network that's NATted to the outside w

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

2007-07-02 Thread Jeff Potter
Thanks, Brent -- I tried this, but still no dice. I didn't copy all of your directives, since there's no relay involved in our case, but I did make sure that the following 3 were enabled... FEATURE(`allmasquerade')dnl FEATURE(`masquerade_entire_domain')dnl FEATURE(`m

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

2007-07-02 Thread Jeff Potter
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, b

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

2007-07-02 Thread Jeff Potter
Are you talking about what appears on the "from" header line. If so, these instuctions: http://www.stevesearle.com/tech/centos5.0.svr.html#sendmail explain how Ah. One needs to comment out the "EXPOSED_USER" variable -- i.e., make it look like: dnl # EXPOSED_USER(`root')dnl Th