help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to split (IMAP client side split) incoming mails into groups for


From: Alberto Luaces
Subject: Re: How to split (IMAP client side split) incoming mails into groups for multiple emails addresses with Gnus
Date: Thu, 11 Jan 2018 13:36:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

gnuforever writes:

> I changed my first select methods to nnnil like below:
>
> (setq gnus-select-method '(nnnil ""))
>
> (setq gnus-secondary-select-methods
>       '((nnimap "firstEmail@domain.com"
>               (nnimap-address "imapserver")
>               (nnimap-inbox "nnimap+firstEmail@domain.com:INBOX")
>               (nnimap-split-methods default)
>               (nnimap-expunge t)
>               (nnimap-stream ssl)
>               (nnimap-user "firstEmail@domain.com"))))
>
> (setq nnmail-split-methods
>       '(("nnimap+firstEmail@domain.com:INBOX.gpg-users" 
> "\\(To\\|Cc\\):.*gnupg-users@gnupg.org")
>       ("nnimap+firstEmail@domain.com:INBOX.help-gnu-emacs" 
> "\\(To\\|Cc\\):.*help-gnu-emacs@gnu.org")
>       ("nnimap+firstEmail@domain.com:INBOX" "")))

Yes, I use something like that, execpt for two aspects:

1. I have two servers in gnus-secondary-select-methods, while you seem
to have only one.

2. I use "fancy splitting", and I don't write the full box name.  For
example, I would just write "INBOX.gpg-users" without the server prefix.

-- 
Alberto




reply via email to

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