Using emacs rmail to read from a different source

Using emacs rmail to read from a different source

When you read your email using emacs rmail, your mail file is called RMAIL and when you get new mail (by typing "g"), the mail is input from /var/mail/username (where "username" is your login name). It is possible to specify the input source for an rmail format file, useful in the case where you might be routing incoming mail with procmail. (See "Using procmail to filter spam".)

Suppose, as in the page referenced above, you are routing probable incoming spam into a file called spam in your mail subdirectory. Here is how you would create an RMAIL format file, SPAM, using that as input so that you could read it just like you do your regular email.


This page last updated April 2, 2002.