How do I use Stunnel to make courier work with gmail

S

SamF.

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?
 
Joined
Dec 1, 2011
Messages
1
Reaction score
0
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. 192.168.150.2 is my internal windows server running stunnel. i could not get 127.0.0.1 to work. i just put my stunnel servers ip in the copier as the mail server 192.168.150.2. 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


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

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

[ssmtp]
accept = 25
connect = smtp.gmail.com:465
 
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

Top