Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: isync plus dovecot?
Date: Mon, 24 Jun 2013 17:39:25 +0100	[thread overview]
Message-ID: <87hagn79aa.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87wqpjr4b8.fsf@ericabrahamsen.net>

Eric Abrahamsen <eric@ericabrahamsen.net> writes:


[...]

> I'm now able to access most mail through gnus, with one strange
> exception: I've got several imap accounts, with a separate server per
> account, and when I go into the individual servers via the *Server*
> buffer they all look something like this:
>
> 22879: INBOX
>     0: [Gmail]
>     0: [Gmail]
>     0: [Gmail]
>     0: [Gmail]
>     0: [Gmail]
>     0: [Gmail]
> 8127: [Gmail]/Sent Mail
>
> I'm guessing the empty entries represent Drafts, Important, Sent Mail,
> Spam, Starred, and Trash, because each account only has Gmail's standard
> folders (I haven't used imap before).  I suspect it has something to do
> with the fact that the dovecot invocation in both mbsync and gnus looks
> like:
>
> /usr/lib/dovecot/imap -o
> mail_location=maildir:$HOME/.mail/account1/:LAYOUT=fs:LAYOUT=fs:INDEX=$HOME/.mail/indexes/account1
>
> Is it likely that separating the indexes from the mailboxes would
> confuse gnus (or the gnus-dovecot conversation)?

I tried moving the indexes for one of the accounts back under the main
directory for that account, with no effect. I also changed
gnus-ignored-newsgroups as per
http://www.emacswiki.org/emacs/GnusGmail#toc3, but that hasn't changed
anything (and anyway, the "[Gmail]/Sent Mail" group would have been
blocked out if that were the issue).

Still all the empty [Gmail] groups, and in the *Group* buffer each
account only shows three groups: INBOX, and [Gmail]/Sent Mail, which
behave normally, and [Gmail], which is empty.

I also noticed that the value of nnimap-split-methods was being ignored.
I tried respooling a random message, and after choosing the backend and
server, it gave me this error:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  decode-coding-string(nil utf-8)
  nnimap-decode-gnus-group(nil)
  nnimap-request-accept-article(nil "Girzel" t)
  gnus-request-accept-article(nil (nnimap "Girzel" (nnimap-stream shell) (nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/girzel/:LAYOUT=fs") (nnimap-split-methods nnimap-split-fancy)) t t)
  eval((gnus-request-accept-article nil (quote (nnimap "Girzel" (nnimap-stream shell) (nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/girzel/:LAYOUT=fs") (nnimap-split-methods nnimap-split-fancy))) t t))
  nnimap-request-move-article(9208 "INBOX" "Girzel" (gnus-request-accept-article nil (quote (nnimap "Girzel" (nnimap-stream shell) (nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/girzel/:LAYOUT=fs") (nnimap-split-methods nnimap-split-fancy))) t t) t nil)
  gnus-request-move-article(9208 "nnimap+Girzel:INBOX" "Girzel" (gnus-request-accept-article nil (quote (nnimap "Girzel" (nnimap-stream shell) (nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/girzel/:LAYOUT=fs") (nnimap-split-methods nnimap-split-fancy))) t t) t nil)
  gnus-summary-move-article(nil nil (nnimap "Girzel" (nnimap-stream shell) (nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/girzel/:LAYOUT=fs") (nnimap-split-methods nnimap-split-fancy)))
  gnus-summary-respool-article(nil (nnimap "Girzel" (nnimap-stream shell) (nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/girzel/:LAYOUT=fs") (nnimap-split-methods nnimap-split-fancy)))
  call-interactively(gnus-summary-respool-article nil nil)

This was from the INBOX group, so I'm not sure why the group name was
nil, but hopefully it's all part of the same problem...

E




      reply	other threads:[~2013-06-24 16:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16  6:30 Eric Abrahamsen
2013-05-16  7:47 ` Rainer M. Krug
2013-05-16 11:28   ` Eric Abrahamsen
2013-05-17  9:06     ` Rainer M. Krug
2013-06-16 18:52   ` Dave Abrahams
2013-05-16 13:07 ` Dan Christensen
2013-05-17  4:02   ` Eric Abrahamsen
2013-05-17  7:50     ` Eric S Fraga
2013-05-17  8:35     ` Dan Christensen
2013-05-17  9:13     ` Rainer M. Krug
2013-05-17  9:17   ` Rainer M. Krug
2013-05-17 20:52     ` Dan Christensen
2013-05-18  1:48       ` Eric Abrahamsen
2013-05-18 21:06         ` Erik Colson
2013-05-16 16:02 ` Eric S Fraga
2013-05-20 17:30 ` Drew Raines
2013-05-21  1:35   ` Eric Abrahamsen
2013-05-22 18:24     ` Drew Raines
2013-05-24  4:36       ` Eric Abrahamsen
2013-06-16 18:49 ` Dave Abrahams
2013-06-17  7:18   ` Eric Abrahamsen
2013-06-18  3:56     ` Dave Abrahams
2013-06-24 14:06   ` Eric Abrahamsen
2013-06-24 16:39     ` Eric Abrahamsen [this message]

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=87hagn79aa.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).