Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Lluís Vilanova" <vilanova@ac.upc.edu>
To: info-gnus-english@gnu.org
Subject: Re: Trouble setting up Gnus + OfflineIMAP + dovecot
Date: Fri, 23 Oct 2015 16:02:39 +0200	[thread overview]
Message-ID: <87ziz91y4g.fsf@fimbulvetr.bsc.es> (raw)
In-Reply-To: <87a8ra3loc.fsf@free.fr>

Julien Cubizolles writes:

> Following the examples provided on this list, I've setup Gnus to use a
> maildir populated by OfflineIMAP as follows:

> (setq gnus-secondary-select-methods
>       '(
> 	(nnimap "FreeOffline"
> 		(nnimap-stream shell)
> 		(nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/Maildir-free")
> 		)
> 	(nnimap "GmailOffline"
> 		(nnimap-stream shell)
> 		(nnimap-shell-program "/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/Maildir-gmail")
> 		)	
> ))

I use a configuration file for dovecot:

(setq gnus-secondary-select-methods
      '((nnimap "FreeOffline"
		(nnimap-stream shell)
		(nnimap-shell-program "/usr/lib/dovecot/imap -c ~/.dovecot-free")))

With the following contents:

  protocols = imap
  log_timestamp = "%Y-%m-%d %H:%M:%S "
  mail_location = maildir:~/Maildir/free
  protocol imap {
    mail_plugins = fts fts_lucene
  }
  plugin {
    fts = lucene
    fts_lucene = whitespace_chars=@
    fts_autoindex = yes
  }

I vaguely remember having to switch from "-o" to "-c" for some reason I cannot
recall. If that does not work, I'd say the problem might be in your offlineimap
configuration. Did you check the contents of your "Maildir-free" directory?


As a side question, does anybody have performance problems with this setup?
(on-demand dovecot process) I was wondering if having an always-running daemon
with all my mail accounts would be faster (although I don't know how to do
that).


Cheers,
  Lluis

-- 
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth



  parent reply	other threads:[~2015-10-23 14:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22 16:36 Julien Cubizolles
2015-10-23  4:41 ` Jeffrey DeLeo
2015-10-23  9:34   ` Julien Cubizolles
2015-10-23 13:32   ` britt
2015-10-23 14:02 ` Lluís Vilanova [this message]
2015-10-23 14:26   ` Julien Cubizolles
2015-10-23 17:57     ` Lluís Vilanova
2015-10-23 22:24       ` Julien Cubizolles

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=87ziz91y4g.fsf@fimbulvetr.bsc.es \
    --to=vilanova@ac.upc.edu \
    --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).