FQDN Misery Re: To: Postfix, Mutt And No Root Mail? & amavisd-new Install

NoOp glgxg at sbcglobal.net
Thu Nov 8 00:57:57 UTC 2007


On 11/07/2007 01:22 PM, Leonard Chatagnier wrote:
> --- Derek Broughton <news at pointerstop.ca> wrote:
> 
>> Leonard Chatagnier wrote:
>> 
>> > Still no root mail in mutt.  Seems related to not
>> > having a FQDN. 
>> 
>> I'm sure you're right (because I already said that
>> :-) )
>> 
> Great, but I still don't know how to create one the
> linux way.  My post asked for that info or at least
> inferred it strongly.
> 
>> > Couldn't fully install amavisd-new due 
>> > to having no FQDN. Googling did't help. Can't
>> figure
>> > out how to establish a FQDN as you will see from
>> the
>> > following:
>> > 
>> > 
>> > lchata at ubuntu:/usr/share/doc/mutt/examples$
>> hostname
>> > ubuntu
>> > lchata at ubuntu:/usr/share/doc/mutt/examples$
>> domainname
>> > gateway.2wire.net
>> ...
>> > As you see "hostnam and domainname" both give
>> results
>> > and nslookup indicates to me that
>> > "ubuntu.gateway.2wire.net" is the FQDN for my
>> Ubuntu
>> > machine.
>> 
>> and "hostname -f"?
> chata at ubuntu:/etc$ hostname -f
> ubuntu
> lchata at ubuntu:/etc$
> I tried all the options and they either gave "ubuntu"
> or nothing.
> lchata at ubuntu:/etc$
>   
>   I'm not sure what NIS
>> (domainname) is for - but it's not
>> a default part of your network settings.  Your FQDN,
>> by default, is afaik
>> only defined by (a) the content of /etc/hosts
>  lchata at ubuntu:/etc$ cat hosts
> 127.0.0.1 localhost
> 127.0.1.1 ubuntu
> 192.168.1.64    ubuntu
> 
> and
>> the search/domain setting
>> of /etc/resolv.conf.
> lchata at ubuntu:/etc$ cat resolv.conf
> search gateway.2wire.net
> nameserver 192.168.1.254

OK. Skip the . (.) et al; I was thinking that you were trying to set up
an internet FQDN and it appears that Ubuntu doesn't require this.

Not sure, but perhaps the following will help:

http://www.forbiddenweb.org/viewtopic.php?id=11136&page=2
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/8980
http://www.postfix.org/postconf.5.html#myhostname

If you are looking to set gateway.2wire.net as a Ubuntu host domain name
then try in your /etc/host file:

192.168.1.64 gateway.2wire.net

etc.

I sometimes wonder about FQDN being thrown about in faqs etc., as FQDN
(Fully Qualified Domain Name) is the _complete_ domain name for a
computer or host on the *internet* or an intranet. In the case of
gateway.2wire.net, the FQDN is broken down as:

gateway = host
2wire = domain
net = top level domain or tld

So "Domain Name" would be considered as 2wire.net and FQDN (Fully
Qualified Domain Name) would be gateway.2wire.net.





More information about the ubuntu-users mailing list