Luis Henriques <[email protected]> writes:

> Hi!
>
> Just like a lot of other people in this list is doing, I've been a happy
> Gnus user with a local dovecot installation.  For several years I've been
> using something like:
>
> (setq gnus-secondary-select-methods
>       '((nnimap "myemail"
>               (nnimap-stream shell)
>               (nnimap-shell-program
>                  "/usr/libexec/dovecot/imap -o 
> mail_location=maildir:~/mail/:LAYOUT=fs:INBOX=~/mail/inbox"))))
>
> (In fact, I've had a few more nnimap entries, but that's not relevant.)
>
> Unfortunately, the imap interface has changed quite a bit with recent
> dovecot versions (2.4.1 here), and this doesn't work anymore.  After
> spending quite some time trying to get a similar setup, I had to give up
> and started using the real (non-local) imap servers.
>
> As anyone found a solution?

Hello,

I had to read and experiment quite a bit before I could make it work. I
had to split mail_location between several new options: mail_driver,
mail_path, and mail_inbox_path.

You'll have to tweak it a bit because I don't think that I hade the
LAYOUT part, but here is one of my current working definitions:

(nnimap-shell-program "/usr/lib/dovecot/imap -o mail_driver=maildir -o 
mail_path=$HOME/Mail/poukram.net -o mail_inbox_path=.")

HTH,
-- 
Rémi


Reply via email to