Suppose as an instructor of two courses this semester I would like to keep
the mail for them in separate mailboxes.
The following method is an easy way of doing this, provided the senders
use the proper address.
Lets have mail send to
firstname.lastname@example.org be saved
in the "mailbox" file
Mailbox-usa2004 in my home directory,
and mail sent to
doug-ent2004 be saved in the "mailbox"
Mailbox-ent2004 in my home directory.
Merely create the empty file
Mailbox-usa2004 in my
home directory and then create the file
which gives instructions to deliver to that mailbox.
If I would prefer "maildir" type delivery the
could have the line
./Maildir/ instead. The first email
received at that address will create the proper directory and its contents.