Sunday, May 13, 2007

Thunderbird / SpamPal / SSL / STunnel / 2 ISPs

Lots of good info setting up SpamPal with STunnel to communicate with ISPs requiring SSL for email. But recently, my ISP also required SSL, and I was already using the STunnel connection for Google.

Not a problem. Just make two entries in your stunnel.conf file, like so:

; incoming email from GMail
[pop3gm]
accept = 127.0.0.1:1110
connect = pop.gmail.com:995

; incoming email from ISP
[pop3is]
accept = 127.0.0.1:1111
connect = pop.myisp.com:995

In Thunderbird, the "User Name" in the Server Settings of Account Settings is My.Name@gmail.com@localhost:1110 for the GMail account, and My.Name@myisp.com@localhost:1111 for the ISP.

No comments: