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 "address@hidden"
>               (nnimap-address "imapserver")
>               (nnimap-inbox "address@hidden:INBOX")
>               (nnimap-split-methods default)
>               (nnimap-expunge t)
>               (nnimap-stream ssl)
>               (nnimap-user "address@hidden"))))
>
> (setq nnmail-split-methods
>       '(("address@hidden:INBOX.gpg-users" "\\(To\\|Cc\\):address@hidden")
>       ("address@hidden:INBOX.help-gnu-emacs" "\\(To\\|Cc\\):address@hidden")
>       ("address@hidden: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]