procmail
[Top] [All Lists]

Re: Mail Directory

1999-12-27 09:43:23
On 26 Dec 99, at 21:59, S.Toms wrote:

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. 


When I added a '/etc/procmailrc' file, the messages can send to the user's 
home directory, but the 'pine' mail client reported that's no new mail

Any idea

Thanks
Jack Cheng

<Prev in Thread] Current Thread [Next in Thread>