From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14495 Path: news.gmane.org!not-for-mail From: Philipp Haselwarter Newsgroups: gmane.emacs.gnus.user Subject: Re: my vs maildir Date: Sun, 02 Jan 2011 11:38:24 +0100 Message-ID: <87ipy7fv4v.fsf@nzebook.haselwarter.org> References: <87aajmrkgb.fsf@towardsfreedom.com> <87wrmpnfvm.fsf@towardsfreedom.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293964732 27954 80.91.229.12 (2 Jan 2011 10:38:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 10:38:52 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jan 02 11:38:48 2011 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZLKo-0001FO-LX for gegu-info-gnus-english@m.gmane.org; Sun, 02 Jan 2011 11:38:46 +0100 Original-Received: from localhost ([127.0.0.1]:55114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZLKo-0004hp-5B for gegu-info-gnus-english@m.gmane.org; Sun, 02 Jan 2011 05:38:46 -0500 Original-Received: from [140.186.70.92] (port=43610 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZLKl-0004hi-Ak for info-gnus-english@gnu.org; Sun, 02 Jan 2011 05:38:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZLKj-0004LE-CB for info-gnus-english@gnu.org; Sun, 02 Jan 2011 05:38:43 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:33200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZLKj-0004L0-0R for info-gnus-english@gnu.org; Sun, 02 Jan 2011 05:38:41 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PZLKg-000198-1T for info-gnus-english@gnu.org; Sun, 02 Jan 2011 11:38:38 +0100 Original-Received: from pd9ecf6bf.dip.t-dialin.net ([217.236.246.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Jan 2011 11:38:38 +0100 Original-Received: from philipp.haselwarter by pd9ecf6bf.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Jan 2011 11:38:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9ecf6bf.dip.t-dialin.net X-NSA-Fodder: Semtex munitions Bletchley Park infowar Merlin Forte Bush Wired User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:g7Fv9fWsYTJtLRDYgbdpPTrumzQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14495 Archived-At: Well basically you need a server to open a port providing a socket that your client can talk to. But if all of this is happening on one machine it's a bit of a long way around. Launching the `imap-shell-program' directly provides you with the same interface you'd get if you were talking to your server over telnet but without having to do all the networking fun. This saves you some overhead and has the advantage that you don't have to worry about security issues all that much; either dovecot can read your files or it can not. At least that's my understanding (guess) of what's happening :) While your typical local imap server would look something like --8<---------------cut here---------------start------------->8--- '(nnimap "localhost" (nnimap-stream network) (nnimap-server-port 143)) --8<---------------cut here---------------end--------------->8--- A minimal setup using the shell stream could be: --8<---------------cut here---------------start------------->8--- (setq nnimap-shell-program "MAIL=maildir:$HOME/Maildir /usr/lib/dovecot/imap") (setq gnus-select-method '(nnimap "localhost" (nnimap-stream shell))) --8<---------------cut here---------------end--------------->8--- NOTICE: `nnimap-shell-program' is a string, not a list -- Philipp Haselwarter