summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskangas <skangas@web>2013-01-06 15:44:53 +0100
committerIkiwiki <ikwiki@zetkin.marxist.se>2013-01-06 15:44:53 +0100
commitb255be6359fde928758c35640aa5eb45904898a9 (patch)
tree7d1e651c9bf999f15e01a0188cdd211bd4d0d91c
parent05476fc965343e220372c102453469416159c6f3 (diff)
Add information on Postfix
-rw-r--r--konfigurera.mdwn26
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>