Mail folders are created automatically when you save messages to
a file. For example:
s 1-5 12 14 minutes
creates a mail folder called minutes. A mail folder is an alternate mailbox; you can do anything with it that you can do with your system mailbox.
To start mail from a mail folder, specify the name of
the folder after -f option:
mail -f minutes
You can also switch folders from within mail with the
To see a list of your folders from within mail, type:
If you want to keep your mail folders in a subdirectory of your home directory, you need to tell mail where to find them by adding a line set folder=subdirectory to your .mailrc startup file. For example, if you keep your mail folders in the subdirectory mymail, add the following line to .mailrc:
set folder=mymailmail then looks in the directory $HOME/mymail when you use folder commands.
For details on setting variables in the .mailrc file, see ``Setting environment variables''.