Re: secure pop3 via ssh
Hi Mario,
The server should accept ssh and you should be able to connect to this
machine using ssh without having to supply your password (using a
.shosts or .rhosts file of instance). It should also accept pop-3
of course. ;-)
A extended example, based on a example in fetchmail(1):
poll mailhost.net via localhost port 1234 with proto pop3:
preconnect "ssh -f -L 1234:mailhost.net:110 mailhost.net sleep 20 </dev/null >/dev/null";
user myaccount
password topsecret
smtphost localhost
Using this example, fetchmail launches the ssh command before it will
poll the pop3 account by connecting to localhost:1234. The ssh client
forks to the background and listens on port 1234 and forwards all its
connections to mailhost.net:110. Et voilá, a secure pop..
Note port 110 is the pop-3 service and 1234 can be any unused 1024+
port number.
Hope this helps.
Regards,
Remco
On Thu, Nov 18, 1999 at 13:38, Mario Olimpio de Menezes wrote:
>
> Hi,
>
> How can I set a secure pop3 server using ssh?
> I read the man page for fetchmail and there is an example of a
> secure conection via ssh.
> How do I implement the server?
> Thanks,
>
> []s,
> Mario O.de Menezes "Many are the plans in a man's heart, but
> IPEN-CNEN/SP is the Lord's purpose that prevails"
> http://curiango.ipen.br/~mario Prov. 19.21
> http://www.revistalinux.com.br
--
confidential UCK kibo FBI Beatrix KKK anthrax KGB splif CD detonator Patijn
Nazi abuse technology sigar inkijk RSA grenade MDMA Cocaine MI5 NORAD PSUC
Reply to: