[comp.sys.hp] mail problem on 9000/350's

rjc@maui.cs.ucla.edu (Robert Collins) (02/05/91)

We are having problems with local delivery of mail.  We are running
HPUX 7.0 on our 9000/350's.  We are running YP.  For some reason,
"/bin/rmail -d <foo>" results in "can't send to <foo>", even when <foo>
is a valid user name.  The exit status is 0, so sendmail thinks all
is well, but it appears that the mail just disappears.

Any suggestions?

rob collins
rjc@cs.ucla.edu
-- 
-------------------------------------------------------------------------------
rjc@cs.ucla.edu	                    CM++ on the CM2:  The only way to fly.
-------------------------------------------------------------------------------

jwright@cfht.hawaii.edu (Jim Wright) (02/06/91)

rjc@maui.cs.ucla.edu (Robert Collins) writes:
>We are having problems with local delivery of mail.  We are running
>HPUX 7.0 on our 9000/350's.  We are running YP.

Try "praliases".  HP's sendmail has some serious bugs when YP is running.
If praliases doesn't give the results you expect (for me, it simply showed
no known aliases) then this is the problem.

Below is an excerpt from our /etc/netbsdsrc file showing the kludge to
work around this bug.  There are a bunch of places in this file where
the fix is needed, and you must fix this for every machine on your network.

    YPNAME=`/bin/domainname`
    /bin/domainname ""
    /usr/lib/sendmail -bz
    /bin/domainname "$YPNAME"
    /usr/lib/sendmail -bd -q30m && /bin/echo "sendmail  \c"

--
Jim Wright
jwright@cfht.hawaii.edu
Canada-France-Hawaii Telescope Corp.

jmc@cnd.hp.com (Jerry McCollom) (02/06/91)

In article <jwright.665783343@quonset> jwright@cfht.hawaii.edu (Jim Wright) writes:
> Try "praliases".  HP's sendmail has some serious bugs when YP is running.
> If praliases doesn't give the results you expect (for me, it simply showed
> no known aliases) then this is the problem.
> 
> Below is an excerpt from our /etc/netbsdsrc file showing the kludge to
> work around this bug.  There are a bunch of places in this file where
> the fix is needed, and you must fix this for every machine on your network.
> 
>     YPNAME=`/bin/domainname`
>     /bin/domainname ""
>     /usr/lib/sendmail -bz
>     /bin/domainname "$YPNAME"
>     /usr/lib/sendmail -bd -q30m && /bin/echo "sendmail  \c"

This YP problem has been fixed.  Get the latest sendmail patch from your
SE and you'll no longer need this kludge.

Jerry McCollom
jmc@cnd.hp.com