<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3298: Mutt's way to get the FQDN is broken



#3298: Mutt's way to get the FQDN is broken
---------------------+------------------------------------------------------
  Reporter:  vinc17  |       Owner:  mutt-dev
      Type:  defect  |      Status:  new     
  Priority:  major   |   Milestone:          
 Component:  mutt    |     Version:  1.5.20  
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------

Comment(by Derek Martin):

 {{{
 It's probably worth noting that, even if uname() returns a hostname
 that contains a '.', that may not be the correct FQDN (for example, it
 might give you something lame like spiffyname.localdomain).  The code
 I suggested should, in most instances, produce a correct FQDN even
 where the OS vendor (or the user) is partially brain-damaged, if such
 a thing is possible (i.e. if the IP address of the machine can be
 resolved to a real FQDN, using the system's configured host resolution
 scheme).
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3298#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent