|
|
@@ -14,6 +14,7 @@ setgid = stunnel4
|
|
|
socket = l:TCP_NODELAY=1
|
|
|
socket = r:TCP_NODELAY=1
|
|
|
|
|
|
+
|
|
|
; Yandex --> IMAP:993; SMTP:465
|
|
|
[yandex_in_imap]
|
|
|
cert = /etc/stunnel/server.cert.pem
|
|
|
@@ -39,6 +40,7 @@ verify = 0
|
|
|
accept = 127.0.0.1:10465
|
|
|
connect = smtp.yandex.com:465
|
|
|
|
|
|
+
|
|
|
; Gmail --> IMAP:999 SMTP:666/667
|
|
|
[gmail_in_imap]
|
|
|
cert = /etc/stunnel/server.cert.pem
|
|
|
@@ -78,6 +80,7 @@ accept = 127.0.0.1:10667
|
|
|
connect = smtp.gmail.com:587
|
|
|
protocol = smtp
|
|
|
|
|
|
+
|
|
|
; Outlook --> IMAP:996 SMTP:581
|
|
|
[outlook_in_imap]
|
|
|
cert = /etc/stunnel/server.cert.pem
|
|
|
@@ -104,3 +107,29 @@ verify = 0
|
|
|
accept = 127.0.0.1:10581
|
|
|
connect = smtp-mail.outlook.com:587
|
|
|
protocol = smtp
|
|
|
+
|
|
|
+
|
|
|
+; Mail.ru --> IMAP:997 SMTP:466
|
|
|
+[mail.ru_in_imap]
|
|
|
+cert = /etc/stunnel/server.cert.pem
|
|
|
+key = /etc/stunnel/server.key.pem
|
|
|
+accept = 0.0.0.0:997
|
|
|
+connect = 127.0.0.1:10997
|
|
|
+
|
|
|
+[mail.ru_out_imap]
|
|
|
+client = yes
|
|
|
+verify = 0
|
|
|
+accept = 127.0.0.1:10997
|
|
|
+connect = imap.mail.ru:993
|
|
|
+
|
|
|
+[mail.ru_in_smtp]
|
|
|
+cert = /etc/stunnel/server.cert.pem
|
|
|
+key = /etc/stunnel/server.key.pem
|
|
|
+accept = 0.0.0.0:466
|
|
|
+connect = 127.0.0.1:10466
|
|
|
+
|
|
|
+[mail.ru_out_smtp]
|
|
|
+client = yes
|
|
|
+verify = 0
|
|
|
+accept = 127.0.0.1:10466
|
|
|
+connect = smtp.mail.ru:465
|