Re: POP3 using SSH

2000-04-30 Thread Adam Shand

> This corresponds to the what the man page tells me to do. Using this
> exact setup, I get a parse error at "user", which is the line following
> the above one. I don't know how to correct this. May someone show me
> their [working] config-file?

here is my working config.  the only thing i've changed is my password.

--
set daemon 60
poll localhost port 1100 protocol pop3 uidl 
username larry password MyPass
mda "/usr/bin/procmail -d larry"
preconnect "ssh -C -f -L 1100:localhost:110 calvino 'sleep 9'"
--

not i use procmail as my local delivery agent cause i found it worked a lot
better that way then dumping to port 25.  it also means i don't have to run
a smtp daemon if i don't want to.

you need to change calvino to be the name of your ssh host, and localhost to
be the name of your mailhost (it can stay localhost if your ssh and mail
host are the same).

adam.


POP3 using SSH

2000-04-29 Thread Sven Burgener
Hello

I tried fetching mail using fetchmail in conjunction with SSH. My setup is as 
follows: (replaced original FQDN)

poll mailhost.net via localhost port 1234 with proto pop3:
preconnect "ssh -f -L 1234:mailhost.net:110 mailhost.net sleep 20 
/dev/null";

This corresponds to the what the man page tells me to do. Using this exact 
setup, I get a parse error at "user", which is the line following the above 
one. I don't know how to correct this. May someone show me their [working] 
config-file?

Cheers
Sven