Downgrade mit stunnel: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 2: | Zeile 2: | ||
*apt install stunnel | *apt install stunnel | ||
=Vorbereitung= | =Vorbereitung= | ||
| − | |||
*cd /etc/stunnel | *cd /etc/stunnel | ||
| − | |||
=Konfiguration= | =Konfiguration= | ||
| − | * | + | *vi imap.conf |
| − | |||
<pre> | <pre> | ||
debug = 7 | debug = 7 | ||
| + | foreground = yes | ||
options = NO_SSLv2 | options = NO_SSLv2 | ||
output = /var/log/stunnel.log | output = /var/log/stunnel.log | ||
| Zeile 16: | Zeile 14: | ||
[to-server] | [to-server] | ||
client = yes | client = yes | ||
| − | accept = | + | accept = 0.0.0.0:143 |
| − | connect = | + | connect = mail.xinmen.de:993 |
CAPath = /etc/ssl/certs/ | CAPath = /etc/ssl/certs/ | ||
verify = 2 | verify = 2 | ||
| + | </pre> | ||
| − | + | =Restart= | |
| − | + | * systemctl restart stunnel@imap.service | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Aktuelle Version vom 24. Juni 2026, 06:43 Uhr
Installation
- apt install stunnel
Vorbereitung
- cd /etc/stunnel
Konfiguration
- vi imap.conf
debug = 7 foreground = yes options = NO_SSLv2 output = /var/log/stunnel.log [to-server] client = yes accept = 0.0.0.0:143 connect = mail.xinmen.de:993 CAPath = /etc/ssl/certs/ verify = 2
Restart
- systemctl restart stunnel@imap.service