From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17718 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= Newsgroups: gmane.emacs.gnus.user Subject: Re: Trouble setting up Gnus + OfflineIMAP + dovecot Date: Fri, 23 Oct 2015 16:02:39 +0200 Message-ID: <87ziz91y4g.fsf@fimbulvetr.bsc.es> References: <87a8ra3loc.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445609363 25367 80.91.229.3 (23 Oct 2015 14:09:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 14:09:23 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Oct 23 16:09:14 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zpd1r-00087F-Al for gegu-info-gnus-english@m.gmane.org; Fri, 23 Oct 2015 16:09:11 +0200 Original-Received: from localhost ([::1]:38761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpd1q-0002LD-Kv for gegu-info-gnus-english@m.gmane.org; Fri, 23 Oct 2015 10:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpd1Y-0001rR-52 for info-gnus-english@gnu.org; Fri, 23 Oct 2015 10:08:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpd1T-0004rJ-5H for info-gnus-english@gnu.org; Fri, 23 Oct 2015 10:08:52 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpd1S-0004r9-VX for info-gnus-english@gnu.org; Fri, 23 Oct 2015 10:08:47 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zpd19-0007Ks-By for info-gnus-english@gnu.org; Fri, 23 Oct 2015 16:08:27 +0200 Original-Received: from 84.88.51.85 ([84.88.51.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Oct 2015 16:08:27 +0200 Original-Received: from vilanova by 84.88.51.85 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Oct 2015 16:08:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 84.88.51.85 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:QXlsxM4wYExBOoAn4U0/AJKg9Dc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17718 Archived-At: 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