summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2014-10-31 16:02:04 +0100
committerGuilhem Moulin <guilhem.moulin@fripost.org>2014-10-31 16:02:04 +0100
commitce38e8ee8a29fad6d358f0a4f24a80d55af9010f (patch)
tree923ae65c8568481d11ac89401133b271813a585d
parent30c17f4ae41265c5431c6b692e3e72963d2bbc77 (diff)
Improve Postfix configuration.
-rw-r--r--konfigurera.mdwn10
1 files 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:
<pre>
-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