Gnus development mailing list
 help / color / mirror / Atom feed
From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: ding@gnus.org
Subject: Re: Mail splitting stopped working with Emacs 25
Date: Tue, 09 Aug 2016 18:49:13 +0300	[thread overview]
Message-ID: <877fbqoscm.fsf@iki.fi> (raw)
In-Reply-To: <87oa5254wx.fsf@tullinup.koldfront.dk>

asjo@koldfront.dk (Adam Sjøgren) writes:

> Jarmo writes:
>
>> 1. If anyone has a working imap mail splitting definition for Emacs 25
>>    which uses gnus-group-browse-foreign-server to subscribe to the imap
>>    groups
>
> Could it be that Emacs thinks the mail in your INBOX already has been
> split?

Well, it actually does split the mail, just puts it into "mail.misc"
instead of the boxes where I would like it to go.

I guess the main difference between Emacs 24 and 25 is that a number of
variables are now server-specific. For example, setting
nnimap-split-methods to some value globally doesn't help, since it gets
reset. That is the gist of the thread I gave a link to in my message, if
I understood correctly.

> Just our of curiosity: why do you insist on using
> gnus-group-browse-foreign-server instead of the usual
> gnus-secondary-select-methods?

It's been ages since I "decided" how to subscribe to imap, and I have
been using the same method since. But see below.

>>    SECOND TRY: use gnus-secondary-select-methods with a variable,
>>    something equivalent to
>>
>>    (setq my-nnimap-split-methods
>>      '(
>>        ("lists" "^\\(To\\|Cc\\):.*list")
>>        ("Spam" "^From:.*spamster")
>>        ("personal" "")))
>>    
>>    (add-to-list 'gnus-secondary-select-methods
>>         '(nnimap "mail"
>>            (nnimap-address "mail.server.com")
>>            (nnimap-stream ssl)
>>            (nnimap-server-port 993)
>>            (nnimap-inbox "INBOX")
>>            (nnimap-split-methods my-nnimap-split-methods)))
>>
>>     This gave me _no mail_: no imap boxes, no mail whatsoever, nothing
>>     even related to imap in buffer *Messages*. I have no idea why.
>
> Did the server buffer show your server ("{nnimap:mail}")?

Nope. It is as if the secondary method has absolutely no effect.

Jarmo




  reply	other threads:[~2016-08-09 15:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09 15:14 Jarmo Hurri
2016-08-09 15:38 ` Adam Sjøgren
2016-08-09 15:49   ` Jarmo Hurri [this message]
2016-08-09 16:20   ` Jarmo Hurri
2016-08-09 20:13     ` Adam Sjøgren

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=877fbqoscm.fsf@iki.fi \
    --to=jarmo.hurri@iki.fi \
    --cc=ding@gnus.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).