Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

Gnus (Emacs Newsreader) FAQ
Section - Q4.8 Procmail and Gnus

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Business Photos and Profiles ]


Top Document: Gnus (Emacs Newsreader) FAQ
Previous Document: Q4.7 Group renumbering
Next Document: Q4.9 Getting new mail, but not new news
See reader questions & answers on this topic! - Help others by sharing your knowledge
   For Gnusae with versions less than or equal to 5.7.x, Randal's advice
   is very useful:
   
   Randal Schwartz <merlyn@stonehenge.com> writes:
   With procmail, you cannot write directly into the nnml directories.
   You must create spool files that will be merged into the nnml
   directories at times of Gnus' choosing. Asynch delivery just isn't in
   the cards.
   
   I just posted my setup a week ago. Here it is one more time:
(setq
 gnus-secondary-select-methods '((nnml ""))
 nnmail-use-procmail t
 nnmail-spool-file 'procmail            ; same as nnmail-use-procmail :-)
 nnmail-procmail-directory "~/.incoming/"
 nnmail-delete-incoming t
)

   And then I have procmail deliver to ~/.incoming/inbox.spool and
   ~/.incoming/list.traffic.spool and so on. The name before .spool
   becomes the nnml: folder in which the stuff will end up.
   
   If your Gnus has a version of 5.8 or later, you can use the following
   code instead of Randal's for a similar effect. See the manual section
   on "Mail Sources" for more information.
(setq
 gnus-secondary-select-methods '((nnml ""))
 mail-sources '((directory :path "~/.incoming/" :suffix ".spool"))
 mail-source-delete-incoming t
)

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: Gnus (Emacs Newsreader) FAQ
Previous Document: Q4.7 Group renumbering
Next Document: Q4.9 Getting new mail, but not new news

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
Justin Sheehy <dworkin@ccs.neu.edu>





Last Update March 27 2014 @ 02:11 PM