mscdex/node-imap — pull request #110 by antifuchs (2012-09-22 05:39:11+00:00)
Title: Allow communication with an IMAP server proxy program

This change lets node-imap start a proxy program whose stout and stdin
behave like an IMAP server would. For example, it can now connect to a
locally-running docecot instance (http://wiki.dovecot.org/PreAuth).

This also allows connecting to imap servers running behind spiped
tunnels and other non-standard topologies.

To make a preauthed dovecot work, this change also needs this pull request: https://github.com/mscdex/node-imap/pull/109 but the two pulls are pretty much independent. I'm much less sure about this one, and can totally understand if you're not comfortable with it at this stage. I am absolutely open to suggestions for reworking it to better fit in.