diff options
-rw-r--r-- | konfigurera.mdwn | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/konfigurera.mdwn b/konfigurera.mdwn index e1edd53..bf8c27f 100644 --- a/konfigurera.mdwn +++ b/konfigurera.mdwn @@ -144,38 +144,30 @@ password uSerS_paSSword Kör följande kommandon: -<pre> -sudo install -m 0400 /dev/null /etc/postfix/sasl/passwd -</pre> + sudo install -m 0400 /dev/null /etc/postfix/sasl/passwd Lägg in följande rad i /etc/postfix/sasl/passwd -<pre> -[smtp.fripost.org]:587 USERNAME@fripost.org:PASSWORD -</pre> + [smtp.fripost.org]:587 USERNAME@fripost.org:PASSWORD Kör följande kommandon: -<pre> -sudo postmap hash:/etc/postfix/sasl/passwd -</pre> + sudo postmap hash:/etc/postfix/sasl/passwd Lägg in följande i main.cf: -<pre> -inet_interfaces = loopback-only -relayhost = [smtp.fripost.org]:587 -smtp_sasl_auth_enable = yes -smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd -smtp_sasl_security_options = noanonymous, noplaintext -smtp_sasl_tls_security_options = noanonymous - -smtp_tls_security_level = fingerprint -smtp_tls_fingerprint_digest = sha256 -smtp_tls_mandatory_ciphers = high -smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1 -smtp_tls_fingerprint_cert_match = 92:BF:5E:D5:B0:4E:10:19:20:08:C4:70:D6:F3:F7:EC:5F:6E:75:D2:1F:9B:FF:4D:49:BD:B0:8A:68:90:49:BF -</pre> + inet_interfaces = loopback-only + relayhost = [smtp.fripost.org]:587 + smtp_sasl_auth_enable = yes + smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd + smtp_sasl_security_options = noanonymous, noplaintext + smtp_sasl_tls_security_options = noanonymous + + smtp_tls_security_level = fingerprint + smtp_tls_fingerprint_digest = sha256 + smtp_tls_mandatory_ciphers = high + smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1 + smtp_tls_fingerprint_cert_match = 92:BF:5E:D5:B0:4E:10:19:20:08:C4:70:D6:F3:F7:EC:5F:6E:75:D2:1F:9B:FF:4D:49:BD:B0:8A:68:90:49:BF Guilhems kommentar: |