Subject: Bug#4354: movemail doesn't work

From: Michael Shields <[email-masked]>
Date: Sat, 31 Aug 1996 04:42:49 +0000 (GMT)

Package: emacs
Version: 19.31-2

movemail complains about not being able to write a temp file in
/var/spool/mail.

One fix might be to make it setgid mail, iff the code is written to be
sufficiently paranoid.
-- 
Shields, CrossLink.

---

From: [email-masked] (Mark W. Eichin)
Date: 31 Aug 1996 01:15:57 -0400

> One fix might be to make it setgid mail, iff the code is written to be

As shipped, it *was* installed setuid root + setgid mail... could you
check your installation and verify, and perhaps be more specific about
movemail's complaint?  Also include the actual modes of your
/var/spool/mail directory, and an indication of what you're using to
invoke movemail. 

% ar p /p/a1/debian/mirror/binary/editors/emacs_19.31-2.deb data.tar.gz | tar tzvf - | grep movemail
-rwsr-sr-x root/mail     14516 1996-06-03 00:05 usr/lib/emacs/19.31/i386-debian-linux/movemail

---

From: Richard Kettlewell <[email-masked]>
Date: Sat, 31 Aug 96 14:17:20 +0100 (BST)

>One fix might be to make it setgid mail, iff the code is written to be

That's odd.

richard@sfere:richard$ ls -l /usr/lib/emacs/19.31/i386-debian-linux/movemail 
-rwsr-sr-x   1 root     mail        14516 Jun  3 05:05 /usr/lib/emacs/19.31/i386-debian-linux/movemail*
richard@sfere:richard$ 

(I understood that the whole point of movemail was to separate out the
bit of a mailer that needed to be setgid mail into a separate
executable.)

-- 
Richard Kettlewell   [email-masked]   [email-masked]
                             http://www.elmail.co.uk/staff/richard/