diff options
-rw-r--r-- | konfigurera.mdwn | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/konfigurera.mdwn b/konfigurera.mdwn index 80c2dda..4cc6a4a 100644 --- a/konfigurera.mdwn +++ b/konfigurera.mdwn @@ -133,3 +133,29 @@ from user@fripost.org user user@fripost.org password uSerS_paSSword </pre> + +## Postfix för utgående e-post + +Lägg in följande rad i /etc/postfix/sasl/passwd + +<pre> +smtp.fripost.org myusername@fripost.org:mypassword +</pre> + +Kör följande kommandon: + +<pre> +sudo chown root:root /etc/postfix/sasl/passwd +sudo chmod 0400 /etc/postfix/sasl/passwd +sudo postmap hash:/etc/postfix/sasl/passwd +</pre> + +Lägg in följande i main.cf: + +<pre> +relayhost = smtp.fripost.org:587 +smtp_sasl_auth_enable = yes +smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd +smtp_sasl_security_options = +smtp_tls_security_level = may +</pre> |