[nzlug] [SOLVED] Stunnel config help - Need POP3 client to talk to SPOP server

Howard howard-nzlug at fox.co.nz
Mon Jun 9 16:39:10 NZST 2008


on 9/06/2008 10:34 a.m. Howard wrote:
> Hi
> 
> As per subject, I have a client (php based) that only talks standard 
> POP3 - on a webserver.
> 
> I need to pull mail off a remote server that only accepts SSL 
> connections on 995 (SPOP).
> 

Thanks to some offlist help and a bit more googling I got it solved.  A 
couple of rookie mistakes:
1. got the accept/connect around the wrong way (thought you'd have to 
reverse it)
2. commented out the [pop3s] proto part, which is needed for each protocol.

I also found added a cert to see if that helped, but I found in docs 
that certs in client mode are optional.

I was encouraged again to use openssl to check the connection, and would 
have if I spent any longer on it thanks Nic.

Config was as simple as this in the end:

; Use it for client mode
client = yes

;Added Howard June 08
[pop3s]
connect = spop.remoteSPOPserver.com:995
accept = 110


cheers
Howard




More information about the NZLUG mailing list