[comp.sys.mips] MIPS mail setup

hg1915@milton.u.washington.edu (Helen Gottschalk) (12/06/90)

  If this question has been talked on the net, please e-mail to me.

  We have several MIPSs running MIPSOS 4.51 and couples Interactives UNIX
system.  I have problem to send mail out from MIPS but no problem in 
receiving it.  We don't run name server.  If I directly talk using SMTP 
and it works fine.
  I use the tcpproto.cf in /usr/lib/cf/cf to build my sendmail.cf.  I tried
both sendmail and sendmail.nonamed.  Both parsing address ok and report
successful sending in the syslog.  But no mail is received on the other end.
no return mail either.

  Any suggestion ?

  Thanks in Advance.

pbickers@groucho (12/06/90)

In article <12376@milton.u.washington.edu> hg1915@milton.u.washington.edu (Helen Gottschalk) writes:
>
>  If this question has been talked on the net, please e-mail to me.
>
>  We have several MIPSs running MIPSOS 4.51 and couples Interactives UNIX
>system.  I have problem to send mail out from MIPS but no problem in 
>receiving it.  We don't run name server.  If I directly talk using SMTP 
>and it works fine.
>  I use the tcpproto.cf in /usr/lib/cf/cf to build my sendmail.cf.  I tried
>both sendmail and sendmail.nonamed.  Both parsing address ok and report
>successful sending in the syslog.  But no mail is received on the other end.
>no return mail either.

I had similar problems getting sendmail to work though I'm running a caching
nameserver (easy to set up) but here's what worked for me.

The answer is from the 4.50 and 4.51 installation note BTW but this seems to
be a common problem so...

1st:
touch /usr/lib/sendmail.ok

This creates an empty file whose existence tells the machine to use sendmail
when sending mail.

2nd:
create a file called /etc/vis.conf with the single line as described on pp9 and
10 of the 4.51 release notes according to whether you're using named, nonamed
or nis and make sure your etc/hosts and /etc/resolv.conf are appropriate.

In my case I used
host: dns files
for a nameserver with dns before files, contrary to the release notes (not
actually sure if I need files at all), the reason being that otherwise mail
is sent without a fully qualified domain name (so nobody can reply). (I believe
this problem can also be cured by using the fully qualified name in /etc/hosts
but this works for me.

This will get most mail out. However the tcpproto version of the configuration
file looks bust to me (i.e. the default one). Internet mail works fine but
bitnet mail dies in the rewrite process. I'm looking at alternative sendmail.cf
files.

-- 
Paul Bickerstaff                 Internet: pbickers@neon.chem.uidaho.edu
Physics Dept., Univ. of Idaho    Phone:    (208) 885 6809
Moscow ID 83843, USA             FAX:      (208) 885 6173

cliff@ssg-mips-e.phys.ucalgary.ca (Cliff Marcellus) (12/06/90)

In article <12376@milton.u.washington.edu> hg1915@milton.u.washington.edu (Helen Gottschalk) writes:
>  We have several MIPSs running MIPSOS 4.51 and couples Interactives UNIX
>system.  I have problem to send mail out from MIPS but no problem in 
>receiving it.  We don't run name server.  If I directly talk using SMTP 
>and it works fine.

  Sound like you've not created /usr/lib/sendmail.ok.  Without it, 
  the system won't use sendmail to delivermail.  just cp /dev/null
  into /usr/lib/sendmail.ok.  This should fix your problem.

-- 
Cliff Marcellus                       |  Internet : cliff@phys.ucalgary.ca
Department of Physics and Astronomy   |  SPAN     : CANCAL::CLIFF
The University of Calgary
OPINIONS EXPRESSED WITHIN ARE MY OWN AND NOT THOSE OF THE UNIVERSITY OF CALGARY

hg1915@milton.u.washington.edu (Helen Gottschalk) (12/11/90)

In article <1990Dec6.144712.9010@cpsc.ucalgary.ca>, cliff@ssg-mips-e.phys.ucalgary.ca (Cliff Marcellus) writes:
> In article <12376@milton.u.washington.edu> hg1915@milton.u.washington.edu (Helen Gottschalk) writes:
> 
>   Sound like you've not created /usr/lib/sendmail.ok.  Without it, 
>   the system won't use sendmail to delivermail.  just cp /dev/null
>   into /usr/lib/sendmail.ok.  This should fix your problem.
> 

    You are right. This does solve the problem to let mail use sendmail.
 My other problem is caused by using sendmail.named instead of sendmail.nonamed
 since I am not running name server.  Another fix need on my sendmail.cf.  
 The address rules will rewrite 'host' to 'host.domain' and I didn't specify
 a domain name, so the host name become 'host.' and this is not found in the
 /etc/hosts (because of the extrat dot).  After I set up a domain name it 
 works fine.

 Thanks for the help


  Jessie Chang