Subject: bug#25702: 26.0.50; `message-make-fqdn' break when `(system-name)' doesn't ends in `.local'

From: Rasmus <[email-masked]>
Date: Mon, 13 Feb 2017 11:49:59 +0100

Hi,

The combination of 3485c1693ef (see #24570) and maybe the removal of
`message-valid-fqdn-regexp' means that `message-make-fqdn' has broken for
me.

My (system-name) is the model number of the machine I use (e.g. "X200s").
So now it's selected as the fdqn via `message-make-fqdn':

    ((not (string-match message-bogus-system-names sysname))
          ;; `system-name' returned the right result.
          sysname)

Thus, MESSAGE-ID are something@X200s, which is a bogus address.

For now I can add laptops model number to `message-bogus-system-names' but
that seems wrong.  Shouldn't user-domain be preferred over the sysname
anyway?

Thanks,
Rasmus