[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sendmail 8.12 $s macro not fully qualified



On Tue, 10 Jul 2001, Bill Wohler wrote:

>   I just upgraded to sendmail 8.12 (woody) and have found that the $s
>   (sender's host) macro no longer expands to a fully qualified
>   hostname. Here's a sample log message:
>
>     Jul 10 10:37:55 gbr sm-mta[17480]: f6AHbtce017480:
>     from=<wohler@gbr>, size=0, class=0, nrcpts=2, proto=ESMTP,
>                  ^^^
>     daemon=MTA, relay=localhost [127.0.0.1]
>
>   And here's a sample Received header field:
>
>     Received: from gbr (localhost [127.0.0.1]) by localhost
>                    ^^^
>     (8.12.0.Beta7/8.12.0.Beta7/Debian 8.12.0.Beta7-1) with ESMTP id
>     f6AHbtcf017480 for <wohler@gnu.org>; Tue, 10 Jul 2001 10:37:55
>     -0700
>
>   Any thoughts on changing that lonely "gbr" back to gbr.newt.com (or
>   newt.com)? Or shall I report it as a bug?

Interesting, I hadn't really noticed that, but I see:
Received: from localhost (IDENT:LQfJJUKJZwjr0nMSNnEg3LqITHd611AP@localhost
    [127.0.0.1])
        (authenticated (0 bits))
        by localhost (8.12.0.Beta14/8.12.0.Beta14/Debian 8.12.0.Beta14)
    with ESMTP id f63IvCDr032402;
        Tue, 3 Jul 2001 14:57:12 -0400

Do you perchance have /etc/hosts setup thusly:
127.0.0.1 gbr localhost

If so, try changing it to:
127.0.0.1 gbr.newt.com localhost
-- 
Rick Nelson -- still feeling quite misanthropic ;-(
Despite the best efforts of a quantum bigfoot drive (yes I know everyone
told me they suck, now I know they were right) 2.1.109ac1 is now available
	-- Alan Cox announcing Linux 2.1.109ac1




Reply to: