Gnus development mailing list
 help / color / mirror / Atom feed
From: coroa@online.de (Jonas Hörsch)
To: ding@gnus.org
Subject: Re: Setting up Dovecot  [Was => Re: gnus fetching same mails again and again (pop)]
Date: Tue, 17 Apr 2012 01:55:17 +0200	[thread overview]
Message-ID: <87ehrngrkq.fsf@gmail.com> (raw)
In-Reply-To: <BLU0-SMTP248EED43225D626A9147936CC3E0@phx.gbl>

On Mon, Apr 16 2012, Yagnesh Raghava Yakkala wrote:

>>
>>> I couldn't get Dovecot working.
>>
>
> - restarted dovecot
>   ,----
>   | raghava-note:/ $ sudo service dovecot restart
>   | dovecot start/running, process 8639
>   `----

it should not be necessary: if you want to invoke it via nnimap-stream
shell: it doesn't even have to be running. i don't have to start the
dovecot server to use /usr/lib/dovecot/imap.f

>
>   ,----
>   | (setq imap-shell-program "/usr/lib/dovecot/imap")
>   |
>   | (add-to-list 'gnus-secondary-select-methods
>   |              '(nnimap "localimap"
>   |                       (nnimap-address "localhost")
>   |                       (nnimap-stream shell)))


i'm using dovecot via shell invocation quite successfully for some time
now. this is what i use as gnus-setup. so basically the same you already
have minus nnimap-address and plus the stderr suppression:


  (add-to-list 'gnus-secondary-select-methods
               '(nnimap "dovecot"
                        (nnimap-stream shell)
                        (nnir-search-engine imap)))
  
  (setq imap-shell-program '("/usr/lib/dovecot/imap 2> /dev/null"))


i don't need any additional authentification. no password, username,
whatsoever.

you might want to try what happens if you invoke /usr/lib/dovecot/imap
in any shell, for me this looks like:

* PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE] Logged in as coroa


i'm using dovecot 2.1.4 on archlinux. i read that for some older
versions you actually want to call it via

/usr/sbin/dovecot --exec-mail imap

instead of /usr/lib/do...


just some random, perhaps helpful information by my side,

have fun,
jonas




  parent reply	other threads:[~2012-04-16 23:55 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 10:16 gnus fetching same mails again and again (pop) Yagnesh Raghava Yakkala
2012-04-12 10:55 ` Alberto Luaces
2012-04-12 16:11   ` Yagnesh Raghava Yakkala
2012-04-12 17:07     ` Andreas Schwab
2012-04-12 18:14       ` Yagnesh Raghava Yakkala
2012-04-12 18:37         ` Lars Magne Ingebrigtsen
2012-04-13  5:45           ` Yagnesh Raghava Yakkala
2012-04-13 10:56             ` Steinar Bang
2012-04-13  2:20         ` XeCycle
2012-04-13  5:35           ` Yagnesh Raghava Yakkala
2012-04-13  6:17             ` XeCycle
2012-04-16  5:19               ` Yagnesh Raghava Yakkala
2012-04-16  6:05                 ` XeCycle
2012-04-16  6:58                   ` Yagnesh Raghava Yakkala
2012-04-16  9:06                     ` Steinar Bang
2012-04-16  9:31                       ` Setting up Dovecot [Was => Re: gnus fetching same mails again and again (pop)] Yagnesh Raghava Yakkala
2012-04-16 13:06                         ` Steinar Bang
2012-04-17  5:33                           ` Yagnesh Raghava Yakkala
2012-04-17  6:28                             ` Steinar Bang
2012-04-16 23:55                         ` Jonas Hörsch [this message]
2012-04-17  2:07                           ` Rasmus
2012-04-17  5:43                           ` Yagnesh Raghava Yakkala
2012-04-13  4:17         ` gnus fetching same mails again and again (pop) Binjo
2012-04-13  5:38           ` Yagnesh Raghava Yakkala

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=87ehrngrkq.fsf@gmail.com \
    --to=coroa@online.de \
    --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).