Gnus Manual. Node: Mail Folders

PREVMH Spool UPChoosing a Mail Backend next Mail Folders

nnfolder is a backend for storing each mail group in a separate file. Each file is in the standard Un*x mbox format. nnfolder will add extra headers to keep track of article numbers and arrival dates.

Virtual server settings:


All the nnfolder mail boxes will be stored under this directory.


The name of the active file.


The name of the group descriptions file. See Newsgroups File Format.


If non-nil, nnfolder will read incoming mail.


Hook run before saving the folders. Note that Emacs does the normal backup renaming of files even with the nnfolder buffers. If you wish to switch this off, you could say something like the following in your `.emacs' file:

(defun turn-off-backup ()
  (set (make-local-variable 'backup-inhibited) t))

(add-hook 'nnfolder-save-buffer-hook 'turn-off-backup)

If you have lots of nnfolder-like files you'd like to read with nnfolder, you can use the M-x nnfolder-generate-active-file command to make nnfolder aware of all likely files in nnfolder-directory.

PREVMH Spool UPChoosing a Mail Backend next