On Tue, 2005-11-29 at 21:15 +0100, Peter Stuge wrote:
> cd Maildir; BINCIMAP_LOGIN=LOGIN+a bincimapd
> 
> works with 1.2, try
> 
> cd Maildir; BINCIMAP_LOGIN=LOGIN+a fixcrio bincimapd
> 
> for an interactive run.

Ah, that's good stuff.

> But, connecting an IMAP client to this will not work since Binc is
> already in the logged in state, and that is not what the IMAP client
> will expect, so it will not work.
> 
> I guess you need a port forwarding from the local system to your
> imaps server, and then use certificate-based login..

The ssh port forwarding isn't what I'm after. But you've given me an
idea - netcat:

ssh server -C exec /usr/bin/nc localhost 143

That works a treat!

Now I've got remote access to IMAP without opening the port, which is
nice.

Unfortunately my original plan was to make use of the fact that ssh logs
in without passwords (using the agent) in order to save me entering my
email password every time (or saving it in evolution, which I'm not
prepared to do). I had some notion that if I could get binc
automatically logged in over ssh then evolution would just work. Shows
how late I sent the email last night - of course evolution doesn't work,
exactly as you explain!

So the only way round that seems to be hack up a bincimap-up which does
fake authentication in the case that the correct user is already running
it, then storing a fake password in evolution. Task for another day...

Cheers,

Martin.

Reply via email to