sendmail masquerading question
Ben Scott
dragonhawk at gmail.com
Thu Sep 13 16:40:27 EDT 2007
On 9/13/07, Bill McGonigle <bill at bfccomputing.com> wrote:
> For some reason the problems I seem to run into seem to do not have
> an .mc macro defined. :( Sometimes I can find a hint online, but
> the community seems to be sparse.
I've long suspected that some people just have bad karma with
certain software, and no amount of reading the man pages, searching
the web, etc., will ever find the right answer.
> Try searching on how to change the hostname sendmail sends for HELO
> greeting (no peeking below).
If you just want to alter Sendmail's idea of the system's hostname,
the README for the config stuff[1] does have a section on this,
entitled "Who Am I?", which I found by looking in the table of
contents. :)
[1] I knew to find this in /usr/share/sendmail/README on Red Hat
systems. I believe it is under cf/README in the Sendmail source
distribution.
Now, said docs do assume your problem is Sendmail not being able to
get a FQDN from the bare hostname, and not the hostname itself.
Points off there. But the instructions and examples do give me enough
information to realize that I would want to define the M4 variable
`confDOMAIN_NAME', or perhaps define $w and/or $m explicitly.
Precisely which action to take would depend on precisely what the
problem is. :)
> Djlibrescu.bfccomputing.com
I had to look it up in Ye Olde "Sendmail Installation and Operation
Guide"[2], but said FM says that $j is the FQDN. $w is the hostname
(first word of FQDN). $m is the "domain name" (where "domain name"
means "organization's domain name", i.e., parent domain of the host's
FQDN). So that may not be doing what you want, because it leaves $w
set to whatever it used to be set to, and you seem to be implying your
system's hostname is somehow bogus for purposes of Sendmail.
[2] I Google'ed for "sendmail manual", since I didn't remember the
exact name. I recognized the title of the second match.
-- Ben
More information about the gnhlug-discuss
mailing list