From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,78da4ecdd3e6f40f X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-02-10 15:25:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!news.mel.connect.com.au!not-for-mail From: Zoong Pham Newsgroups: comp.unix.tru64 Subject: Re: Mail Problem Date: 10 Feb 2002 23:25:04 GMT Organization: Customer of Connect.com.au Pty. Ltd. Message-ID: References: Reply-To: dpham@mercy.com.au NNTP-Posting-Host: 210.9.192.246 X-Trace: perki.connect.com.au 1013383504 1055 210.9.192.246 (10 Feb 2002 23:25:04 GMT) X-Complaints-To: abuse@connect.com.au NNTP-Posting-Date: 10 Feb 2002 23:25:04 GMT User-Agent: slrn/0.9.7.3 (SunOS) Xref: archiver1.google.com comp.unix.tru64:6764 In article , Marc Biggs wrote: > Dear All, > I am unable to use the following command successfully on my box: > # echo "test" | mailx biggsmc@logica.com > > However the following command does work: > # echo "test" | mailx -r sender@logica.com biggsmc@logica.com > > The -r option specifies the name of the sender. From this I believe > that the default domain of the sending machine is not an actual domain > and is therefore rejected by the mail server at my end. > > Has anyone experienced a similar problem? Does anyone know how to > change the default domain name of the sender? Marc, I expericenced similar problem like that before. I couldn't even send out mails with "-r" option. I found out that the external receiving server was setup to reverse checking of my local workstation fully qualified name (hostname + domainname). I have a non-fully qualified name so the mails were rejected at that end. I tried and it worked with Hotmail. Seem that Hotmail doesn't care (no wonder spams get to Hotmail a lot). You can try see if Hotmail accepted mails sending from your box or not. For solution, you can either ask the receiving end to modify their settings. That is very unlikely. Or you can modify your Mail Transport Agent. I use sendmail so I modified the "envelope sender rewriting" rules and it works OK for me. I can send you the bit I modified in sendmail.cf if you want. It is on Solaris 8 though. I think it should be very much the same with sendmail in Tru64. I am not expert in sendmail so check sendmail web site and its newsgroup, mailinglist for solution. Regards, -- Zoong Pham zpham@mercy.com.au UNIX Systems Administrator Mercy Health and Aged Care Inc. To get my PGP public key, email me with the subject: Request for Zoong Pham's PGP public key