Subject: Re: odd procmail behavior

From: "Michael J. Corrigan" <[email-masked]>
Date: Thu, 02 Feb 1995 13:11:31 -0800

Because procmail is running as root at the point of reading
the global procmailrc.

Try adding (as mentioned by Stephen when this came up)

DROPPRIVS=yes

before the recipe and then they'll be owned by the $LOGNAMEs

/usr/spool/mail.backup might need to be 777. Use 1777 if it's supported
to avoid the removal security problem.

> With a two-line global /etc/procmailrc of:
> 
> 	:0c:$LOGNAME
> 	/usr/spool/mail.backup/$LOGNAME
> 
> Why is it that all the mailboxes in /usr/spool/mail are owned by their
> respective users but those in /usr/spool/mail.backup are all owned by
> root?  This doesn't make sense to me.  My sendmail.cf includes:
> 
> 	Mlocal, P=/usr/local/bin/procmail, F=lsDFMShPf, S=10, R=20/40,
> 		A=procmail -a $h -d $u
> 
> 
> Thanks,
> Tom.III
> [email-masked]
>