On Thursday 08 October 2020 01:55:36 am Dr. Nikolaus Klepp wrote:
Anno domini 2020 Wed, 7 Oct 23:34:34 -0700
William Morder via tde-users scripsit:
> On Wednesday 07 October 2020 23:07:55 Dr. Nikolaus Klepp wrote:
> > Anno domini 2020 Wed, 7 Oct 16:32:12 -0700
> >
> > William Morder via tde-users scripsit:
> > > I believe it was Michael who wrote this memorable line, which
> > > immediately got
> > >
> > > my attention:
> > > > POP through an always present SSH tunnel.
> > >
> > > that an ssh tunnel would be the way, but how to do it?
No offense Nik, your somewhereelse anthology left me a bit confused, attached
is a filtered bash script I use to maintain the SSH tunnel. In my use case,
I’m always connected to the server anyway, so adding the tunnel just made
sense.
My KMail setup is (change whatever you need to for your specific mail setup):
Menu >> Settings >> Configure, Accounts
Receiving, Add, Account Type: POP3
Tab: General
Login: Mail account name
Password: Mail account password
Host: 127.0.0.1
Port: 58110
Yes: Store POP password
{the rest whatever you normally do}
Tab: Extras
Encryption: None
Authentication Method: Clear text
{You can check what the server does, in my case it’s going through the tunnel
on a box I own, so I leave it simple}
{pipelining: I’ve never enabled it, the warning is enough for me...}
Sending, Add, Transport: SMTP
Tab: General
Host: 127.0.0.1
Port: 58025
Yes: Server requires authentication
Login: Mail account name
Password: Mail account password
Yes: Store SMTP password
Tab: Security
Encryption: TLS
Authentication Method: LOGIN
# # #
Hopefully that helps!
Best,
Michael