On Tue, Sep 10, 2002 at 06:26:44AM -0700, Linux Dev wrote:
> I am looking for a tool / software to do "automated"   
> bulk transfer of mail from /var/spool/mail/<user_name> 
> to the /home/<user_name>
> 
> The daily per user mail size in /var/spool/mail/<user_name> 
> is ~3Mb.
> 
> The mail will be read by each user in pine and/or mail.

Do you really want to do a bulk transfer, or do you merely want the
e-mail to just be in ~joeuser/Mail?

If the latter, then consider not putting the e-mail in /var/spool/mail
in the first place, instead put in a symbolic link for each user
pointing from /var/spool/mail/josuser to /home/jouser/Mail.

If this looks sensible, try it with one user and see if it works.  For
one user you will want to do something like:

  /etc/init.d/sendmail stop ; \
  mv /var/spool/mail/joeuser /home/joeuser/Mail ; ln -s /home/joeuser/Mail 
/var/spool/mail/joeuser ; \
  /etc/init.d/sendmail start

For many users you probably want to put the above in a script, doing
the mv/ln part for all users.


-kb



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to