Sendmail Gurus?

Armitage

Banned
Feb 23, 2001
8,086
0
0
I'm having some issues here. There are some sites that try to do a reverse DNS on the hostname returned by sendmail in the HELO field. Whether this is reasonable or not is debatable, but in any case, my sendmail install returns the internal hostname of the machine (which has no DNS record) rather then the external domain name (which does have a DNS record).

So is there any way to specify what sendmail returns as a hostname for HELO? Or do I just have to put out a DNS record for the internal name?
Thanks
 

Syran

Golden Member
Dec 4, 2000
1,493
0
76
Did you ever get a response on this? I too am having the same problem. Fixed it a while back, but the server crashed, and the mail settings were lost :(
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Look through the cf/README for the complete explanation. I don't know a whole lot about sendmail, so it's all greek to me. Google got me enough information to look there.

The domain file can also be used to define a domain name, if needed
(using "DD<domain>") and set certain site-wide features. If all hosts
at your site masquerade behind one email name, you could also use
MASQUERADE_AS here.

You do not have to define a domain -- in particular, if you are a
single machine sitting off somewhere, it is probably more work than
it's worth. This is just a mechanism for combining "domain dependent
knowledge" into one place.

Google result.