From ce38e8ee8a29fad6d358f0a4f24a80d55af9010f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 31 Oct 2014 16:02:04 +0100 Subject: Improve Postfix configuration. --- konfigurera.mdwn | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/konfigurera.mdwn b/konfigurera.mdwn index 9dda725..f55cec9 100644 --- a/konfigurera.mdwn +++ b/konfigurera.mdwn @@ -159,9 +159,7 @@ sudo postmap hash:/etc/postfix/sasl/passwd Lägg in följande i main.cf:
-mydomain = fripost.org
-myorigin = $mydomain
-myhostname = USERNAME.$mydomain
+inet_interfaces = loopback-only
 relayhost = [smtp.fripost.org]:587
 smtp_sasl_auth_enable = yes
 smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
@@ -188,17 +186,17 @@ Guilhem comments:
 >       smtp_tls_fingerprint_digest          = sha1
 >
 >     /etc/postfix/tls_policy
->       [mail.chalmers.se]:587  secure ciphers=high
+>       [smtp.chalmers.se]:587  secure ciphers=high
 >       [smtp.fripost.org]:587  fingerprint
 >           match=03:87:02:C9:6E:01:D3:AD:BC:EC:77:CC:A5:C5:37:C1:D8:C1:29:BC
 >           ciphers=high
 >     
 >     /etc/postfix/relayhost_map
 >       @fripost.org                [smtp.fripost.org]:587
->       guilhem.moulin@chalmers.se  [mail.chalmers.se]:587
+>       guilhem.moulin@chalmers.se  [smtp.chalmers.se]:587
 >
 >     /etc/postfix/sasl/passwd
->       [mail.chalmers.se]:587  mouling:xxxxxx
+>       [smtp.chalmers.se]:587  mouling:xxxxxx
 >       [smtp.fripost.org]:587  guilhem:xxxxxx
 
 The fingerprint of the server certificate can also be found
-- 
cgit v1.2.3