Showing posts with label stunnel gmail imaps pop3s. Show all posts
Showing posts with label stunnel gmail imaps pop3s. Show all posts

Sunday, July 19, 2009

Using stunnel to connect to gmail imaps/pop3s

# Useful for clients/daemons that can't imaps/pop3s.
# Axigen mail server can't migrate imaps mailboxes for example.

# stunnel.conf
sslVersion = SSLv3

socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

debug = 0
output = /var/log/stunnel4/stunnel.log

client = yes

[pop3s]
accept = 110
connect = pop.gmail.com:995

[imaps]
accept = 143
connect = imap.gmail.com:993