[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: message-Id has localhost
From: |
Michael Richardson |
Subject: |
Re: message-Id has localhost |
Date: |
Fri, 29 Dec 2023 19:55:52 -0500 |
Ken Hornstein <kenh@pobox.com> wrote:
> That would be a nmh-style Message-ID; the first number is the process
> id of whatever generated that (probably post(8)), the second is a Unix
> timestamp. Do you have -msgid set in your profile for send(1)?
Yes.
But, how to I get it to put in the hostname?
I want nmh-style message-IDs so that my outbox will have them.
>> I think that mts.conf ought to set this, but localname/localdomain do not
>> seem right, and they aren't set, so my hostname (which is correct, I
think)
>> ought to be used.
>>
>> I'm running 1.7+dev ... NOPE.
>> I'm actually rather unsure how to get a --version out of NMH.
> I think pretty much anything takes a -version flag?
hmm. -version/-v. not --version. not -V. Silly me.
>> Still have @localhost in the message-id.
> From the code, that's calling LocalName(1).
> What that does is: getaddrinfo(gethostname(), AI_CANONNAME). So maybe
> your resolver library canonicalizes your hostname to "localhost"? If
> getaddrinfo() fails then it falls back to the value of gethostname().
yes. that's it.
127.0.0.1 localhost obiwan.sandelman.ca obiwan
which is often required for certain things work, but I don't remember what
now. I'll change it see what breaks. Is there any override?
Let's see this message.
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | IoT architect [
] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
- message-Id has localhost, Michael Richardson, 2023/12/29
- Re: message-Id has localhost, Ken Hornstein, 2023/12/29
- Re: message-Id has localhost,
Michael Richardson <=
- Re: message-Id has localhost, Michael Richardson, 2023/12/29
- Re: message-Id has localhost, Ken Hornstein, 2023/12/29
- Re: message-Id has localhost, Michael Richardson, 2023/12/30
- Re: message-Id has localhost, David Levine, 2023/12/30
- Re: message-Id has localhost, Ken Hornstein, 2023/12/30
- Re: message-Id has localhost, Ralph Corderoy, 2023/12/31
- Re: message-Id has localhost, Ken Hornstein, 2023/12/31
- Re: message-Id has localhost, Ralph Corderoy, 2023/12/31
- Re: message-Id has localhost, Ken Hornstein, 2023/12/31
- Re: message-Id has localhost, Andy Bradford, 2023/12/31