[Evolution] Using custom commands to connect to an IMAP server



Hi all;

I need to read my mail from an IMAP server using IMAPS (IMAP over SSL),
but there is a firewall in the way (that I don't have control over).

What I am able to do is use SSH to create a tunnel to a remote system
beyond the firewall, then forward the IMAPS through that tunnel.  It
works great in my tests; I used:

        ssh -N -T -L 11111:<imap-server>:993 <remote-host>

(993 is the port for IMAPS)

Then I changed my IMAPS server in my Evo config from <imap-server> to
localhost:11111 and voila!  It just works.  SSH is so cool!

However, the bummer here is that I have to invoke the SSH command before
I can get a connection, and even more of a bummer is that my firewall
will kill ssh connections after they've been up for a while.

I noticed on the "Receiving Options" tab for Evo's IMAP support there's
a section "Use custom command to connect to server".  This looks
promising but I've looked everywhere and I can't find any documentation
about it.  Maybe someone here has some help?

Questions I have:

     1. Is this command invoked first, then the normal IMAP request is
        made?  Or is the command somehow supposed to handle the request
        itself?  From the default command it looks like the former.
     2. Is the command invoked only once the first time Evo connects to
        the IMAP server, or is it invoked each time?  Or only when the
        server doesn't respond?  Or...?
     3. Is there documentation for the %-format tokens available in the
        request?

Thanks!

-- 
-----------------------------------------------------------------------------
 Paul D. Smith <psmith gnu org>                 http://make.mad-scientist.us
 "Please remain calm--I may be mad, but I am a professional."--Mad Scientist



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]