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: gnuforever
Subject: Re: How to split (IMAP client side split) incoming mails into groups for multiple emails addresses with Gnus
Date: Mon, 15 Jan 2018 05:35:51 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Emanuel Berg <address@hidden> writes:

>
> I was just about to say "I told you so" but
> then I stuck me that that is the hole purpose
> of a Q&A help list :)
>
> Anyway glad it worked.

Indeed :-) It was a helpful command.


I am posting my config. If someone wants to use it or has a better way
to do the split, feel free.


(setq gnus-select-method '(nnnil ""))

(setq gnus-secondary-select-methods
      '((nnimap "address@hidden"
                (nnimap-address "imapserver1")
                (nnimap-inbox "INBOX")
                (nnimap-split-methods default)
                (nnimap-expunge t)
                (nnimap-stream ssl)
                (nnimap-user "address@hidden"))
        (nnimap "address@hidden"
                (nnimap-address "imapserver2")
                (nnimap-inbox "INBOX")
                (nnimap-split-methods default)
                (nnimap-expunge t)
                (nnimap-stream ssl)
                (nnimap-user "address@hidden"))))

(setq nnmail-split-methods
      ;; address@hidden
      '(("INBOX.FeistyDuckTLS" "From:address@hidden")
        ("INBOX.guix-devel" "\\(To\\|Cc\\):address@hidden")
        ("INBOX.gpg-users" "\\(To\\|Cc\\):address@hidden")
        ("INBOX.help-gnu-emacs" "\\(To\\|Cc\\):address@hidden")
        ("INBOX.gnuk-users" "\\(To\\|Cc\\):address@hidden")
        ;; address@hidden
        ("INBOX.PRIVATE" "Subject:.*private")
        ("INBOX.WORK" "Subject:.*work")
        ("INBOX" "")))



reply via email to

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