help me for use mail

as I can create a job that the mail checks me that arrives and it creates me a new file with the new mail.
I want create a shell. But i don't know well Unix.

[Edited by mmistero on 05-11-2001 at 10:13 AM]

If you are using bash you don't need a outside script. You can set the env var "MAILPATH".


You could write the code of the shell that I have to create for saving me the new mails in new lines to me