[tech] mutt address problem on mussel

Alastair Irvine alastair at ucc.gu.uwa.edu.au
Mon Jan 3 00:01:51 WST 2005


On Sun, 02 January, 2005 at 12:56:43AM +0800, Davyd Madeley wrote:
[snip]
> Here are some related things:
> [davyd at mussel ~]$ hostname -f    < mussel doesn't know
> mussel                           < it's FQDN

The above now works.  The hostname(1) manual page describes the canonical
way that this string should be determined.  (I wrote a program to test
this, which works on both mussel and morwong.)

> 
> [davyd at mussel ~]$ cat /etc/hosts
> 127.0.0.1       localhost
> # should read: 127.0.0.1 mussel.u.g.u.e.a mussel localhost
> 
> [davyd at mussel ~]$ cat /etc/mailname
> mussel
> # should read mussel.u.g.u.e.a

Shouldn't it leave out the hostname?  mailname(5) is kind of vague, but
does mention "after the @".  I suspect that mutt is using /etc/mailname
where found and the canonical method above elsewhere (e.g. morwong).

> 
> [davyd at mussel ~]$ cat /etc/postfix/main.cf | grep myhostname
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> myhostname = mussel
> # same
> 
> You shouldn't need to set any muttrc hostname if you have these set
> appropriately.

Agreed.  Sounds like it's not a mutt bug.

-- 
... Nature, like people, sometimes weeps for gladness.
 _____________________________________________________________________ 
|                                                                     |
|  -=*Alastair Irvine*=-   <http://www.ucc.gu.uwa.edu.au/~alastair/>  |
|  C-monkey/wanderer/board&RPGer/net-nut  alastair at ucc.gu.uwa.edu.au  |
|_____________________________________________________________________|


More information about the tech mailing list