Explorar o código

Update applications.md

Håvard O. Nordstrand %!s(int64=5) %!d(string=hai) anos
pai
achega
724c93a9f3
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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”