The operating system places incoming mail for you in a file that we
call your inbox. When you start up Rmail, it runs a C program
called movemail
to copy the new messages from your inbox into
your primary Rmail file, which also contains other messages saved from
previous Rmail sessions. It is in this file that you actually read the
mail with Rmail. This operation is called getting new mail. You
can get new mail at any time in Rmail by typing g.
The variable rmail-primary-inbox-list
contains a list of the
files which are inboxes for your primary Rmail file. If you don't set
this variable explicitly, it is initialized from the MAIL
environment variable, or, as a last resort, set to nil
, which
means to use the default inbox. The default inbox is
`/var/mail/username', `/usr/spool/mail/username',
or `/usr/mail/username', depending on your operating system.
You can specify the inbox file(s) for any Rmail file with the command
set-rmail-inbox-list
; see section Multiple Rmail Files.
There are two reasons for having separate Rmail files and inboxes.
Rmail was written to use Babyl format as its internal format. Since then, we have recognized that the usual inbox format on Unix and GNU systems is adequate for the job, and we plan to change Rmail to use that as its internal format. However, the Rmail file will still be separate from the inbox file, even on systems where their format is the same.
Go to the first, previous, next, last section, table of contents.