Browse Source

Update applications.md

Håvard O. Nordstrand 5 năm trước cách đây
mục cha
commit
724c93a9f3
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      config/linux-server/applications.md

+ 3 - 1
config/linux-server/applications.md

@@ -106,7 +106,9 @@ export TMPDIR=/var/lib/docker-compose-tmp
 
 1. Install: `postfix libsasl2-modules mailutils`
    - If asked, choose to configure Postfix as a satellite system.
-2. Make sure the FQDN is correct in `/etc/mailname` and `/etc/postfix/main.cf`.
+2. Set the FQDN:
+   1. Update it in `/etc/postfix/main.cf`.
+   1. Link mailname to hostname (must be FQDN): `ln -sf /etc/hostname /etc/mailname`
 3. Update the root alias in `/etc/aliases` and run `newaliases`.
 4. Update the `main.cf` config (example not provided here).
    1. Only listen to localhost: Set “inet\_interfaces = loopback-only”