Change postfix hostname to localhost

This commit is contained in:
cytopia
2022-02-01 23:38:35 +01:00
parent ec1a1bd79d
commit c818efe5e3
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
- added extension `pdo_sqlsrv` to php 8.1
#### Changed
- Changed postfix hostname to `php` instead of GitHub runners long name
- Changed postfix hostname to `localhost` instead of GitHub runners long name
## Release 0.131

View File

@@ -88,7 +88,7 @@ set_postfix() {
# Postfix catch-all
if [ "${enable_mail}" = "2" ]; then
run "postconf -e 'myhostname=php'" "${debug}"
run "postconf -e 'myhostname=localhost'" "${debug}"
run "postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual'" "${debug}"
run "echo '/.*@.*/ ${username}' >> /etc/postfix/virtual" "${debug}"
run "newaliases" "${debug}"