Sometime today, Philip S Tellis wrote: > > and if someone has already written script for transferring mail from > > /var/spool/mail to /home/(user)/inbox i.e. overwriting it and > > zeroing the file which is at /var/spool/mail/(user) > > You don't need a script for this. I think sendmail can do it on its > own. Just set the MAIL environment variable. If that doesn't work, > then a simple .procmailrc file will do the trick: > > DEFAULT=$HOME/inbox
You can also set your MBOX to ~/inbox in your .mailrc -> set MBOX=~/inbox Just run mail(1) and read all the messages. When you quit, it'll save those messages in your ~/inbox (MBOX) file. HTH. Manish _______________________________________________ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

