I am trying to set up Gnus 5.13 to access a local maildir (created by OfflineIMAP) via Dovecot. I know I could access OfflineIMAP's maildir directly, but as far as I know, this causes problems with syncing Gnus' flags. So I set up OfflineIMAP (it works) and I have this in my ~/.gnus.el:
(setq gnus-select-method '(nnimap "Mail" (nnimap-stream shell)))
(setq nnimap-shell-program "/usr/lib/dovecot/imap")
I also tried this instead of the second line:
(setq imap-shell-program "/usr/lib/dovecot/imap")
However, when I start Gnus, I get the following error message:
Couldn't open server on Mail
Warning: Unable to open server nnimap+Mail due to: Buffer *nnimap Mail nil *nntpd** has no process
Does anyone know how to get this working or at least how to figure out what that error message means?