From: terryc on
On Mon, 16 Nov 2009 20:59:13 +0100, Andrzej Adam Filip wrote:


>> Try adding to your sendmail.mc:
>> LOCAL_NET_CONFIG
>> Djmail.xxxxx.com
>
> The following would be cleaner:
> #v+
> define(`confDOMAIN_NAME',`mail.xxxxx.com')
> #v-

Just to clarify, you are specifying Mailhost + Domain and not just
domain?.
From: Andrzej Adam Filip on
terryc <newsninespam-spam(a)woa.com.au> wrote:
> On Mon, 16 Nov 2009 20:59:13 +0100, Andrzej Adam Filip wrote:
>
>
>>> Try adding to your sendmail.mc:
>>> LOCAL_NET_CONFIG
>>> Djmail.xxxxx.com
>>
>> The following would be cleaner:
>> #v+
>> define(`confDOMAIN_NAME',`mail.xxxxx.com')
>> #v-
>
> Just to clarify, you are specifying Mailhost + Domain and not just
> domain?.

YES - it defines $j("this host email name")

Comments in cf/m4/proto.m4 (so also in sendmail.cf) are "somehow
misleading" but doc/op/op.me ("INSTALLATION AND OPERATION GUIDE")
describes meaning of $j properly:

<quote src="cf/m4/proto.m4">
# my official domain name
# ... `define' this only if sendmail cannot automatically determine your domain
ifdef(`confDOMAIN_NAME', `Dj`'confDOMAIN_NAME', `#Dj$w.Foo.COM')
</quote>

http://www.sendmail.org/~ca/email/doc8.12/op-sh-5.html#sh-5.2
<quote>
$j The "official" domain name for this site. This is fully qualified if
the full qualification can be found. It must be redefined to be the
fully qualified domain name if your system is not configured so that
information can find it automatically
</quote>


--
[pl>en Andrew] Andrzej Adam Filip : anfi(a)onet.eu : Andrzej.Filip(a)gmail.com
Television is now so desperately hungry for material that it is scraping
the top of the barrel.
-- Gore Vidal