From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,69b34d2921f15431,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: 1164f8,69b34d2921f15431,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-07-31 08:42:02 PST Xref: sparky comp.sys.dec:4303 comp.unix.questions:9659 Path: sparky!uunet!sun-barr!ames!agate!landau!payam From: payam@landau (Payam Mirrashidi) Newsgroups: comp.sys.dec,comp.unix.questions Subject: Mail problems, missing domainname Date: 31 Jul 1992 22:51:03 GMT Organization: University of California, Berkeley Message-ID: <15cg4nINNrik@agate.berkeley.edu> NNTP-Posting-Host: landau.berkeley.edu I am currently working on a DECStation 5000/120 running under Ultrix V4.2. A friend hacked sendmail for us sometime last year so that a SUN SPARCStation 1+ would be a mailserver for us. But recently I noticed a peculiar problem. Mail sent out from the DEC is missing the domain name in the user address, even if it is sent outside this domain(mailing within the domain isn't a problem). People will get mail from me addressed from, "landau.local". Instead of "landau.Berkeley.EDU". If I do a `hostname` I get "landau.Berkeley.EDU", but if I do a `domainname` I get a blank line. I am assuming here that the mail program takes the machine name and tacks on the domainname rather than using the hostname. Any help with this would be greatly appreciated. -- Payam Mirrashidi payam@langmuir.Berkeley.EDU "We look to Los Angeles for the language we use; London is dead..." - Morrissey