Merge ~cjwatson/charm-postfix-relay:optional-myhostname into charm-postfix-relay:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Eric Chen | ||||
Approved revision: | 8f371ca57c46e6c779da9f111a34e190267795ce | ||||
Merged at revision: | 75a9c22abd684ff1f1f7dd01d4735ab6d9472fcd | ||||
Proposed branch: | ~cjwatson/charm-postfix-relay:optional-myhostname | ||||
Merge into: | charm-postfix-relay:master | ||||
Prerequisite: | ~cjwatson/charm-postfix-relay:fix-domain-rewrite-map | ||||
Diff against target: |
32 lines (+5/-3) 2 files modified
src/config.yaml (+3/-3) src/templates/main.cf (+2/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Chen | Approve | ||
🤖 prod-jenkaas-bootstack (community) | continuous-integration | Approve | |
Robert Gildein | Approve | ||
Tianqi Xiao (community) | Needs Information | ||
Review via email: mp+431427@code.launchpad.net |
Commit message
Default myhostname to the system's FQDN
Description of the change
There isn't really a strong reason to require units to have an externally-
A better default is to just let Postfix use the system's fully-qualified domain name from `gethostname`, which is its default. That way, this charm can be deployed on units that aren't exposed to the internet, and they can just be configured to relay to something that does have an externally-
(The prerequisite branch is simply due to the various CI fixes there.)
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.