Is IMAP IDLE incompatible with preauthtunnel = ssh ?

Marc MERLIN marc_news at
Sun Sep 22 23:39:12 BST 2013

On Fri, Sep 20, 2013 at 03:00:55PM +0400, Eygene Ryabinkin wrote:
> I fear that your Courier is configured to avoid IDLE stuff when
> working over SSH and invoking imapd by hand.  Usually, it is
> IMAP_CAPABILITY configuration setting for Courier IMAP that governs
> the support for IDLE, see

I found the answer on the courier mailing list:
preauthtunnel = ssh -x -q imap 'IMAP_IDLE_TIMEOUT=20 IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE SORT QUOTA IDLE" /usr/bin/imapd ./Maildir'


The problem is that courier imap does not read its configuration file
where I setup the IDLE configuration when you run it from the command line.

So you have to pass in the environment variables for IDLE and after that it works.

Hope this helps someone else.

"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page:                         | PGP 1024R/763BE901

More information about the OfflineIMAP-project mailing list