From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81765 Path: news.gmane.org!not-for-mail From: Yagnesh Raghava Yakkala Newsgroups: gmane.emacs.gnus.general Subject: Setting up Dovecot [Was => Re: gnus fetching same mails again and again (pop)] Date: Mon, 16 Apr 2012 18:31:35 +0900 Message-ID: References: <87mx6hl0fo.fsf@live.com> <871untb4n5.fsf@eps142.cdf.udc.es> <87lim01ifw.fsf@Gmail.com> <87hawo17gt.fsf@Gmail.com> <87wr5gqkhs.fsf@Gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334568790 27249 80.91.229.3 (16 Apr 2012 09:33:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Apr 2012 09:33:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30042@lists.math.uh.edu Mon Apr 16 11:33:08 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SJiIw-0006kT-UB for ding-account@gmane.org; Mon, 16 Apr 2012 11:33:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SJiHy-00074z-9r; Mon, 16 Apr 2012 04:32:02 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SJiHw-00074k-Cw for ding@lists.math.uh.edu; Mon, 16 Apr 2012 04:32:00 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SJiHk-00075A-Fu for ding@lists.math.uh.edu; Mon, 16 Apr 2012 04:31:58 -0500 Original-Received: from blu0-omc3-s36.blu0.hotmail.com ([65.55.116.111]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SJiHi-0003ZJ-Dm for ding@gnus.org; Mon, 16 Apr 2012 11:31:46 +0200 Original-Received: from BLU0-SMTP248 ([65.55.116.73]) by blu0-omc3-s36.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 16 Apr 2012 02:31:39 -0700 X-Originating-IP: [59.158.65.92] X-Originating-Email: [yagnesh@live.com] Original-Received: from smtp.live.com ([59.158.65.92]) by BLU0-SMTP248.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 16 Apr 2012 02:31:38 -0700 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-OriginalArrivalTime: 16 Apr 2012 09:31:39.0134 (UTC) FILETIME=[B9A581E0:01CD1BB3] X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81765 Archived-At: Hello Steinar, Steinar Bang writes: >>>>>> Yagnesh Raghava Yakkala : > >> I couldn't get Dovecot working. > > On what platform did you try to install dovecot? And what steps did you > do when trying to install it? Thanks for the reply., I am on GNU/Linux (Ubuntu). These are the things I tried. - installed dovecot ,---- | sudo apt-get install dovecot-common dovecot-imapd dovecot-pop3d `---- - edited /etc/dovecot/dovecot.conf ,---- | mail_location =3D maildir:/home/%u/Maildir `---- - restarted dovecot ,---- | raghava-note:/ $ sudo service dovecot restart | dovecot start/running, process 8639 `---- - confirm dovecot is running ,---- | raghava-note:~$ ps auwx | grep dovecot | root 8639 0.0 0.0 17304 1316 ? Ss 17:40 0:00 /usr/s= bin/dovecot -F -c /etc/dovecot/dovecot.conf | dovecot 8645 0.0 0.0 8824 896 ? S 17:40 0:00 doveco= t/anvil | root 8646 0.0 0.0 8948 1036 ? S 17:40 0:00 doveco= t/log | root 8648 0.0 0.0 11004 3116 ? S 17:40 0:00 doveco= t/config `---- followed this guide to test the installation http://wiki.dovecot.org/TestInstallation So far so good. (how to authenticate from client to dovecot then?) - Gnus Setup ,---- | (setq imap-shell-program "/usr/lib/dovecot/imap") | | (add-to-list 'gnus-secondary-select-methods | '(nnimap "localimap" | (nnimap-address "localhost") | (nnimap-stream shell))) `---- - ~/.authinfo (I think this is not the way to do it) ,---- | machine localhost login SystemUserid password systemPassword port 143 `---- - Finally enter into Gnus. I am getting following warning=20 ,---- | Warning: Opening nnimap server on localimap...failed: @@@@@@@@@@@@@@@@@= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | ; Unable to open server nnimap+localimap due to: Buffer *nnimap localh= ost nil *nntpd** has no process `---- *Server* buffer ,---- | {nnfolder:archive} (opened) | {nndraft:} (opened) | {nnml:} (opened) | {nnimap:yagmsc} (opened) | {nnimap:localimap} (denied) <------------------------ | {nntp:news.gmane.org} (opened) `---- =20=20 Probably I am missing auth setup for the dovecot. Thanks., -- =E0=B0=8E=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B1=8B =E0=B0=AE=E0=B0=B9=E0=B0=BE= =E0=B0=A8=E0=B1=81=E0=B0=AD=E0=B0=BE=E0=B0=B5=E0=B1=81=E0=B0=B2=E0=B1=81 = =E0=B0=85=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B0=BF=E0=B0=95=E0=B0=BF =E0=B0=B5= =E0=B0=82=E0=B0=A6=E0=B0=A8=E0=B0=AE=E0=B1=81=E0=B0=B2=E0=B1=81 YYR