Child pages
  • How to rename a computer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TBC.  May involve re-generating certificates.

Postfix

Change the postfix configuration files

...

Update by editing:

  • /etc/aliases  If it is changed, run the newalises command.
  • /etc/mailname
  • (warning) Do not restart or reload postfix until all files have been updated
  • Change the hostname in /etc/postfix/header_checks.  checks  If the file doesn't exist, create it using the procedure at http://wiki.bluelightav.org/x/PAIW . (warning) Do not restart or reload postfix until all files have been updated.  

...

  • If it is changed, run the postmap command on it, in the /etc/postfix directory.
  • /etc/postfix/generic 

...

  • If it is changed, run the postmap command on it, in the /etc/postfix directory.

Update /etc/postfix/main.cf by (replacing <hostname> and <domain>):

  • postconf -e myhostname=<hostname>

  • postconf -e mydestination=<hostname>,localhost.<domain>,localhostpostconf -e 'smtp_header_checks = regexp:/etc/postfix/header_checks'

Restart postfix:

/etc/init.d/postfix reload

...