How do I use Stunnel to make courier work with gmail



Use Stunnel to make courier work with gmail is what I hear suggested. I
don't have a clue about how to set up stunnel. Are there directions
located someplace so that I can get this working with out having any
idea of what I am doing?
Dec 1, 2011
Reaction score
i spent quite literally 2 weeks trying to get stunnel to work so my canon copier would talk to gmail.

the problem was that i could enable SSL on the canon copier but i could not change the port. so it wouldnt talk to gmail.

here is my stunnel.conf for any one who is having as much trouble as i did getting stunnel and gmail to work. the gmail account has pop/imap enabled in the mail settings in gmail. is my internal windows server running stunnel. i could not get to work. i just put my stunnel servers ip in the copier as the mail server also i think i had to turn off smtp auth on the copier for it to work. your mileage may vary...

just copy paste this into your stunnel.conf for gmail.

cert = stunnel.pem
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
client = yes

accept = 110
connect =

accept = 143
connect =

accept = 25
connect =
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question