"domainname" will display it.
"domainname my.domain" will set it.

Question is, what does this mean. I would like email sent to [EMAIL PROTECTED] to 
be delivered to the user mailbox. If I do this with an exim4 "mail" command 
(I had routers set), this may work. If I send such email through "outside" 
providers, this will not work.

On Tuesday 24 August 2004 00:02, [EMAIL PROTECTED] 
wrote:
> >> where does the domain name of a debain stored?
> >> is there anyway to change it?
> >
> > Try edit /etc/domainname or /etc/hostname depending on what you want
> > to acheive
> >
> > Rus
>
> dnsdomainname is in /etc/resolv.conf
> [EMAIL PROTECTED]:~$ cat /etc/resolv.conf
> search demo.room
> nameserver 192.168.9.4
> nameserver 192.168.8.1
> [EMAIL PROTECTED]:~$ hostname -f
> Dolphin.demo.room
> [EMAIL PROTECTED]:~$
>
> NIS domain name may be in /etc/defaultdomain (to my surprise).  More
> usually, it's in /etc/yp.conf

Reply via email to