Commit 6519df8f authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Make fully qualified domain names more fully qualified

* lisp/gnus/message.el (message-make-fqdn): Don't try to use a
system-name without any periods as a fully qualified domain name.
parent b74d536e
......@@ -5778,7 +5778,10 @@ give as trustworthy answer as possible."
(not (string-match message-bogus-system-names message-user-fqdn)))
;; `message-user-fqdn' seems to be valid
((not (string-match message-bogus-system-names sysname))
;; 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.
;; Try `mail-host-address'.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment