Clarify the postfix setup a bit
This commit is contained in:
parent
c09d39eda6
commit
99e027426b
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ dovecot pam.d postfix procmailrc skel systemd opendkim
|
||||||
4. Set the hostname of the server with `hostnamectl set-hostname SOMETHING.REPLACEME.TLD` where `SOMETHING.REPLACEME.TLD` is the server hostname
|
4. Set the hostname of the server with `hostnamectl set-hostname SOMETHING.REPLACEME.TLD` where `SOMETHING.REPLACEME.TLD` is the server hostname
|
||||||
5. Add the hostname of the server to the end of the line starting with `127.0.0.1` in `/etc/hosts`
|
5. Add the hostname of the server to the end of the line starting with `127.0.0.1` in `/etc/hosts`
|
||||||
6. In `/etc/dovecot/dovecot.conf` and `/etc/opendkim/opendkim.conf` replace occurances of `REPLACEME.TLD` and occurances of `REPLACEME` with the first part of the hostname
|
6. In `/etc/dovecot/dovecot.conf` and `/etc/opendkim/opendkim.conf` replace occurances of `REPLACEME.TLD` and occurances of `REPLACEME` with the first part of the hostname
|
||||||
7. In `/etc/postfix/main.cf` replace occurances of `REPLACEME.TLD` with the hostname (not the name)
|
7. In `/etc/postfix/main.cf` replace `SOMETHING` with the hostname of the server and occurrences of `REPLACEME.TLD` with the domain
|
||||||
8. Run `opendkim-genkey -r -s REPLACEME -d REPLACEME.TLD` where `REPLACEME` is the first part of the hostname
|
8. Run `opendkim-genkey -r -s REPLACEME -d REPLACEME.TLD` where `REPLACEME` is the first part of the hostname
|
||||||
9. In `/etc/postfix/aliases`, replace the instance of `REPLACEME` with the user that should receive domain-level emails
|
9. In `/etc/postfix/aliases`, replace the instance of `REPLACEME` with the user that should receive domain-level emails
|
||||||
10. Run `newaliases` to update the aliases database with the contents of `/etc/postfix/aliases`
|
10. Run `newaliases` to update the aliases database with the contents of `/etc/postfix/aliases`
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
myhostname = somehostname.REPLACEME.TLD
|
myhostname = SOMETHING.REPLACEME.TLD
|
||||||
compatibility_level = 2
|
compatibility_level = 2
|
||||||
mail_owner = postfix
|
mail_owner = postfix
|
||||||
setgid_group = postdrop
|
setgid_group = postdrop
|
||||||
|
|
Loading…
Reference in a new issue