|
@@ -21,18 +21,18 @@ key = /etc/stunnel/server.key.pem
|
|
|
accept = 0.0.0.0:993
|
|
|
connect = 127.0.0.1:10993
|
|
|
|
|
|
-[yandex_in_smtp]
|
|
|
-cert = /etc/stunnel/server.cert.pem
|
|
|
-key = /etc/stunnel/server.key.pem
|
|
|
-accept = 0.0.0.0:465
|
|
|
-connect = 127.0.0.1:10465
|
|
|
-
|
|
|
[yandex_out_imap]
|
|
|
client = yes
|
|
|
verify = 0
|
|
|
accept = 127.0.0.1:10993
|
|
|
connect = imap.yandex.com:993
|
|
|
|
|
|
+[yandex_in_smtp]
|
|
|
+cert = /etc/stunnel/server.cert.pem
|
|
|
+key = /etc/stunnel/server.key.pem
|
|
|
+accept = 0.0.0.0:465
|
|
|
+connect = 127.0.0.1:10465
|
|
|
+
|
|
|
[yandex_out_smtp]
|
|
|
client = yes
|
|
|
verify = 0
|
|
@@ -46,20 +46,61 @@ key = /etc/stunnel/server.key.pem
|
|
|
accept = 0.0.0.0:999
|
|
|
connect = 127.0.0.1:10999
|
|
|
|
|
|
-[gmail_in_smtp]
|
|
|
-cert = /etc/stunnel/server.cert.pem
|
|
|
-key = /etc/stunnel/server.key.pem
|
|
|
-accept = 0.0.0.0:666
|
|
|
-connect = 127.0.0.1:10666
|
|
|
-
|
|
|
[gmail_out_imap]
|
|
|
client = yes
|
|
|
verify = 0
|
|
|
accept = 127.0.0.1:10999
|
|
|
connect = imap.gmail.com:993
|
|
|
|
|
|
+[gmail_in_smtp]
|
|
|
+cert = /etc/stunnel/server.cert.pem
|
|
|
+key = /etc/stunnel/server.key.pem
|
|
|
+accept = 0.0.0.0:666
|
|
|
+connect = 127.0.0.1:10666
|
|
|
+
|
|
|
[gmail_out_smtp]
|
|
|
client = yes
|
|
|
verify = 0
|
|
|
accept = 127.0.0.1:10666
|
|
|
connect = smtp.gmail.com:465
|
|
|
+
|
|
|
+[gmail2_in_smtp]
|
|
|
+cert = /etc/stunnel/server.cert.pem
|
|
|
+key = /etc/stunnel/server.key.pem
|
|
|
+accept = 0.0.0.0:667
|
|
|
+connect = 127.0.0.1:10667
|
|
|
+protocol = smtp
|
|
|
+
|
|
|
+[gmail2_out_smtp]
|
|
|
+client = yes
|
|
|
+verify = 0
|
|
|
+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
|
|
|
+key = /etc/stunnel/server.key.pem
|
|
|
+accept = 0.0.0.0:996
|
|
|
+connect = 127.0.0.1:10996
|
|
|
+
|
|
|
+[outlook_out_imap]
|
|
|
+client = yes
|
|
|
+verify = 0
|
|
|
+accept = 127.0.0.1:10996
|
|
|
+connect = imap-mail.outlook.com:993
|
|
|
+
|
|
|
+[outlook_in_smtp]
|
|
|
+cert = /etc/stunnel/server.cert.pem
|
|
|
+key = /etc/stunnel/server.key.pem
|
|
|
+accept = 0.0.0.0:581
|
|
|
+connect = 127.0.0.1:10581
|
|
|
+protocol = smtp
|
|
|
+
|
|
|
+[outlook_out_smtp]
|
|
|
+client = yes
|
|
|
+verify = 0
|
|
|
+accept = 127.0.0.1:10581
|
|
|
+connect = smtp-mail.outlook.com:587
|
|
|
+protocol = smtp
|