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

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


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).

I guess there are a number of ways to do this, including modifying the 
PHP code, but as it is pretty much unmodified so far (off the shelf) I'd 
like to keep it that way to help future upgrades etc.

I thought the better way to achieve this then would be with a package 
like Stunnel - however the more I delve into it, the more options there 
seem to be in Stunnel.  There are no examples I can find where localhost 
is the 'client' and the SPOP is the server... they tend to be geared 
towards giving a standard 'POP3 server' some 'SSL' capability.

Anyone knowledgeable enough with Stunnel to suggest some config options 
please? (or any other helpful suggestions)

Am I close with something like this?

;[local pop3 to Secure POP3 server]
accept  = localhost:110
connect = spop.thespop3server.com:995
client  = yes

Thanks
Howard



More information about the NZLUG mailing list