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

Re: Secure POP over SSH



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 16 December 2001 8:28 pm, Pollywog wrote:
> I read the docs at http://www.linuxdoc.org/HOWTO/mini/Secure-POP+SSH.html
> and I am wondering whether this approach can work for multiple mailboxes
> at one ISP (if I use fetchmail).  

Does you ISP allow you to create an SSH tunnel to them - ie has he got a sshd 
running, and is your public key in his authorised key database.  You can't do 
this unless he has set it up for you to do so.

What I am almost sure will happen is
> that before the SSH tunnel is disconnected for one mailbox, fetchmail will
> try to retrieve mail for the next mailbox. 

It will if your fetchmailrc contains multiple mailbox polls.  The alternative 
is to run several scripts which run with different fetchmailrc files - each 
one doing a single poll.

I don't want to set up a
> different port for each mailbox because I think that would be an abuse of
> my ISP.  I want fetchmail to use SSH to retrieve mail one mailbox at a
> time.
>

I don' think you can use fetchmail to set up ssh - you have to do it yourself 
and then setup fetchmail to use it.

ssh provides the ability to create a local port which if you connect to, send 
an encrypted tunnel to a port on a remote machine (the -L option - there is a 
reverse function with the -R option).  You set fetchmail to connect to this 
local port, and it has infact connected to the remote (pop3) port.


- -- 

  Alan - alan@chandlerfamily.org.uk
http://www.chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8HSU71mf3M5ZDr2kRAouoAJ4zR2iZcwUTNyMupoCSKKv8MekjvwCgy9Fh
x5WeVG4mLreO4s8WO78sPnY=
=oRt0
-----END PGP SIGNATURE-----



Reply to: