* bug#25702: 26.0.50; `message-make-fqdn' break when `(system-name)' doesn't ends in `.local'
@ 2017-02-13 10:49 Rasmus
2019-05-13 21:14 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Rasmus @ 2017-02-13 10:49 UTC (permalink / raw)
To: 25702
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#25702: 26.0.50; `message-make-fqdn' break when `(system-name)' doesn't ends in `.local'
2017-02-13 10:49 bug#25702: 26.0.50; `message-make-fqdn' break when `(system-name)' doesn't ends in `.local' Rasmus
@ 2019-05-13 21:14 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-05-13 21:14 UTC (permalink / raw)
To: Rasmus; +Cc: 25702
Rasmus <rasmus@gmx.us> writes:
> 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.
I think this has been fixed in Emacs in 2017. The code is now:
;; A system name without any dots is unlikely to be a good fully
;; qualified domain name.
((and (string-match "[.]" sysname)
(not (string-match message-bogus-system-names sysname)))
;; `system-name' returned the right result.
sysname)
So it won't use sysname if there's no dot.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-13 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 10:49 bug#25702: 26.0.50; `message-make-fqdn' break when `(system-name)' doesn't ends in `.local' Rasmus
2019-05-13 21:14 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.