Downgrade mit stunnel: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Installation= *apt install stunnel =Konfiguration= *cd /etc/stunnel *cat<<HERE >stunnel.conf <pre> debug = 7 options = NO_SSLv2 output = /var/log/stunnel.log…“)
 
 
(14 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
=Installation=
 
=Installation=
 
*apt install stunnel
 
*apt install stunnel
=Konfiguration=
+
=Vorbereitung=
 
*cd /etc/stunnel
 
*cd /etc/stunnel
*cat<<HERE >stunnel.conf
 
  
 +
=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
  
[http]
+
[to-server]
 
client = yes
 
client = yes
accept = 0.0.0.0:80
+
accept = 0.0.0.0:143
connect = $FQDN:443
+
connect = mail.xinmen.de:993
 
CAPath = /etc/ssl/certs/
 
CAPath = /etc/ssl/certs/
 
verify = 2
 
verify = 2
HERE
 
 
</pre>
 
</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