From b255be6359fde928758c35640aa5eb45904898a9 Mon Sep 17 00:00:00 2001 From: skangas Date: Sun, 6 Jan 2013 15:44:53 +0100 Subject: Add information on Postfix --- konfigurera.mdwn | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 + +## Postfix för utgående e-post + +Lägg in följande rad i /etc/postfix/sasl/passwd + +
+smtp.fripost.org    myusername@fripost.org:mypassword
+
+ +Kör följande kommandon: + +
+sudo chown root:root /etc/postfix/sasl/passwd
+sudo chmod 0400 /etc/postfix/sasl/passwd
+sudo postmap hash:/etc/postfix/sasl/passwd
+
+ +Lägg in följande i main.cf: + +
+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
+
-- cgit v1.2.3