[comp.sys.hp] Bug in rmail ?

hans@inmic.se (Hans Berggren) (12/21/89)

Together with YP /bin/rmail doesn't work alright. I use /bin/rmail
as a local delivery agent in sendmail, as shown in /etc/newconfig/sendmail.cf
The problem is not in sendmail, but in rmail together with YP.
Consider following situation.
You want to mail direct to user A, B and C using `rmail -d A B C'
(as in sendmail.cf). You have YP running. Rmail uses passwd.byname to
lookup users. If user A is the last person in the YP-map passwd.byname 
(the last person you find if you do `ypcat passwd'),the mail will be 
delivered only to him not to B and C.
Rmail exits with message `mail: error signal 10'.
If you change the order of the recepients, like `rmail -d B A C' mail will
be delivered to B and A but not to C. A rename of A to another name which
will place him not last in passwd.byname map, will deliver mail to all recepients
in the list.
If you put A last in the recepient list, mail will be delivered to all
of them. The order of B and C in such  case is irrelevant.

On the YP master server rmail works alright, since user lookup is done in
in /etc/passwd instead of the passwd.byname.

A workaround is to let sendmail call /bin/rmail once per recepient by
removing the `m' mailerflag in local mailer spec. in sendmail.cf, but
I don't like to have it as definite solution.

Has anyone else encountered the same problem? Is HP aware of it?
Will it be fixed in 7.0?
--
Hans Berggren
Swedish Institute of Microelectronics, IM
PO Box 1184, S-164 21 KISTA, SWEDEN
Tel: +46 8 752 11 44    Telex: 128 75 INMIC S   Fax: +46 8 750 54 30
UUCP: {uunet,mcvax,munnari,ukc,unido}!sunic!inmic.se!hans
Internet: hans@inmic.se