On Mon, 27 Dec 1999, Jack Cheng wrote:
jc> Hi
jc>
jc> I'm new in this list, I'm using the RH6.1 & Sendmail
jc>
jc> I'd a question about the user's mail directory, by default the mail
directory
jc> located in /var/spool/mail, that's cause the problem for the user quota
jc> setting, so I need to transfer the /var/spool/mail directory into the
user's
jc> home directory. But how can I config the procmail to do the job.
jc>
Not positive but you could make a global procmailrc file
'/etc/procmailrc' which sets the following
MAILDIR=/home/$LOGNAME/mail
DEFAULT=Inbox
what I'm not sure of is whether procmail being in a global file will set
$LOGNAME to the user or root since procmail is running as root.
jc> Thanks
jc> Best Regard
jc> Jack Cheng
jc>
jc>
jc>
--
S.Toms - tomas(_at_)primenet(_dot_)com - homepage is in the works
SuSE Linux v6.2+ - Kernel 2.2.13
Steinbach's Guideline for Systems Programming:
Never test for an error condition you don't know how to
handle.