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.
This commit is contained in:
parent
b74d536ed4
commit
6519df8f5a
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
message-user-fqdn)
|
||||
((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.
|
||||
sysname)
|
||||
;; Try `mail-host-address'.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue