Splitting Mail Getting Mail Fancy Mail Splitting
These variables are (for the most part) pertinent to all the various mail backends.
nnmail-read-incoming-hook
|
The mail backends all call this hook after reading new mail. You can use this hook to notify any mail watch programs, if you want to. |
nnmail-spool-file
|
The backends will look for new mail in this file. If this variable is
Your Emacs has to have been configured with ` When you use a mail backend, Gnus will slurp all your mail from your inbox and plonk it down in your home directory. Gnus doesn't move any mail if you're not using a mail backend---you have to do a lot of magic invocations first. At the time when you have finished drawing the pentagram, lightened the candles, and sacrificed the goat, you really shouldn't be too surprised when Gnus moves your mail. |
nnmail-use-procmail
|
If non- |
nnmail-crash-box
|
When a mail backend reads a spool file, mail is first moved to this
file, which is ` |
nnmail-prepare-incoming-hook
|
This is run in a buffer that holds all the new incoming mail, and can be used for, well, anything, really. |
nnmail-split-hook
|
Hook run in the buffer where the mail headers of each message is kept
just before the splitting based on these headers is done. The hook is
free to modify the buffer contents in any way it sees fit---the buffer
is discarded after the splitting has been done, and no changes performed
in the buffer will show up in any files. |
nnmail-pre-get-new-mail-hook
nnmail-post-get-new-mail-hook
|
These are two useful hooks executed when treating new incoming
mail---
|
nnmail-tmp-directory
|
This variable says where to move incoming mail to -- while processing
it. This is usually done in the same directory that the mail backend
inhabits (e.g., ` |
nnmail-movemail-program
|
This program is executed to move mail from the user's inbox to her home
directory. The default is ` This can also be a function. In that case, the function will be called with two parameters -- the name of the inbox, and the file to be moved to. |
nnmail-delete-incoming
|
If non- (No Gnus release since (ding) Gnus 0.10 (or something like that) have lost mail, I think, but that's not the point. (Except certain versions of Red Gnus.)) By not deleting the Incoming* files, one can be sure not to lose mail -- if Gnus totally whacks out, one can always recover what was lost.
You may delete the ` |
nnmail-use-long-file-names
|
If non- |
nnmail-delete-file-function
|
Function called to delete files. It is |
nnmail-cache-accepted-message-ids
|
If non- |