Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: multi-email gnus setup questions
Date: Tue, 22 Dec 2015 09:06:06 +0800	[thread overview]
Message-ID: <87fuyvmgw1.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87mvt3ny9x.fsf@jnanam.net>

Benjamin Slade <slade@jnanam.net> writes:

> A few issues I'm stuck on. Partially owing to using multiple accounts,
> perhaps.
>
> (1) Splitting mail with multiple accounts.
> I have this in my .gnus.el:
>
> ;; mail splitting
> (setq nnimap-split-inbox "INBOX")
>  (setq nnimap-split-predicate "UNDELETED")
>  (setq nnmail-split-fancy ;; 
>        '(|                                ;;
>          (: gnus-registry-split-fancy-with-parent) ;;
> 	 ("List-Id" ".*help-gnu-emacs.gnu.org" "INBOX.emacs.help")
> 	 (to "someone@domain.net" "INBOX.someone")
>          "INBOX"                          ;; 
>         ))
>  (setq nnimap-split-rule 'nnmail-split-fancy)
>  (setq nnmail-split-methods 'nnimap-split-fancy) ;; 
>  (gnus-registry-initialize) ;;
>
> But it doesn't seem to create new folders/groups for either rule.  What
> am I doing wrong?  Is it an issue of having multiple accounts?

You have to tell each account to use your split rules (this allows you
to theoretically use different rules for different accounts). See
the "Client-side IMAP Splitting" section of the manual for details. If
you're using fancy splitting, I think you have to set
nnimap-split-methods to nnimap-split-fancy, then set nnimap-split-fancy
to the value of the splits you want to use. All that has to happen as
server parameters.

> (2) Splitting mail with Gmail/other apps:
> Assuming I can successfully split mail, if I split into something like
> INBOX.emacs, will other connecting non-gnus mail clients see mail in
> INBOX.emacs as being in the INBOX?

I'm actually not sure about this.

> (3) Customizing the C-x gnus menu:
> Right I see things like nnimap+gmail1account:INBOX. Is there a way to
> customize this, to look like FirstAccount:INBOX ?

You can customize how the line for each group appears using the
`gnus-group-line-format' variable -- it's possible to remove the backend
altogether. See the "Group Line Specification" part of the manual. In
particular, you might try switching the %g format specifier for %G?
Anyway, experiment with that!



  reply	other threads:[~2015-12-22  1:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22  0:05 Benjamin Slade
2015-12-22  1:06 ` Eric Abrahamsen [this message]
2015-12-22 21:15   ` Benjamin Slade
     [not found]   ` <mailman.430.1450858810.843.info-gnus-english@gnu.org>
2015-12-23 11:14     ` Jens Klöcker
2015-12-23 21:38       ` Benjamin Slade
2015-12-24  6:32         ` Eric Abrahamsen
2015-12-24 21:22           ` Benjamin Slade
2015-12-25  2:11             ` Eric Abrahamsen
2015-12-27  4:01               ` Benjamin Slade
2015-12-27  4:08                 ` Eric Abrahamsen
2015-12-28  0:33                   ` B.V. Raghav
2015-12-25  3:18             ` B.V. Raghav
2015-12-25  3:25               ` Eric Abrahamsen
2015-12-24  3:28       ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuyvmgw1.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).