Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!rivm!ccea3 From: ccea3@rivm.UUCP (Adri Verhoef) Newsgroups: comp.mail.uucp Subject: Re: Forwarding UUCP's Mail Message-ID: <1238@rivm05.UUCP> Date: 31 Jan 89 12:27:18 GMT References: <495@fallst.UUCP> Reply-To: ccea3@rivm05.UUCP (Adri Verhoef) Organization: RIVM, Bilthoven, The Netherlands Lines: 22 In article <495@fallst.UUCP> tkevans@fallst.UUCP (Tim Evans) writes: >For the record, the HDB UUCP daemon 'uudemon.cleanu' has as its >last line: > > rm -f $MAILDIR/uucp $MAILDIR/nuucp > >This explains the disappearance of the mailbox containing the instructions >to forward the mail. >There's nothing to explain why this script creates mail to 'uucp' then >immediately deletes it, though. 8-) At least it tries to do that. The script should be run by uucp, possibly upon startup from cron by root for setting the ulimit: 45 23 * * * ulimit 5000;\ /bin/su uucp -c "/usr/lib/uucp/uudemon.cleanup" >/dev/null 2>&1 Uucp should *not* have the permission to remove *any* mailfile from the mailspool-directory. $ ls -ld /usr/mail drwxrwxr-x 3 bin mail 928 Jan 31 13:21 /usr/mail