info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mail sources and groups


From: Reiner Steib
Subject: Re: mail sources and groups
Date: Thu, 17 Nov 2005 17:07:41 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Thu, Nov 17 2005, Ian Zimmerman wrote:

> My main mail source is a directory with multiple spool folders,
> into which I split with procmail.  I prefer splitting with procmail
> to Gnus' built-in nnmail-split mechanism for various reasons and
> don't want to change that.  Now what if I want to fetch from the
> default system mailbox /var/mail/foo as well?  I can add an mbox
> source for it, 

,----[ <f1> v mail-sources RET ]
| mail-sources is a variable defined in `mail-source.el'.
| Its value is 
| ((file)
|  (directory :path "/foo/bar/procmail/" :suffix ""))
| 
| Documentation:
| *Where the mail backends will look for incoming mail.
| This variable is a list of mail source specifiers.
| See Info node `(gnus)Mail Source Specifiers'.
`----

> but how does Gnus know what group these articles belong to?  Do I
> have to define nnmail-split-methods?

Yes.

> Will that clash with the procmail way (i.e. will all articles then
> be routed to the one and only group in nnmail-split-methods,
> ignoring the procmail split)?

No.  Just don't change `nnmail-resplit-incoming':

,----[ (info "(gnus)Mail Source Specifiers") ]
|      There is also the variable `nnmail-resplit-incoming', if you set
|      that to a non-`nil' value, then the normal splitting process is
|      applied to all the files from the directory, *Note Splitting
|      Mail::.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]