postfix: add localhost. to mydestination
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
William Hirigoyen 2022-12-15 11:43:13 +01:00
parent ae94f979a4
commit 55a64845ce
3 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* packweb-apache: enable `log_forensic` module
* rabbitmq: add link in default page
* varnish: create special tmp directory for syntax validation
* postfix: add localhost.$mydomain to mydestination
### Changed

View File

@ -5,7 +5,7 @@ myhostname = {{ postfix_hostname }}
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $myhostname
mydestination = $myhostname localhost.localdomain localhost
mydestination = $myhostname localhost localhost.localdomain localhost.$mydomain
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0

View File

@ -74,7 +74,7 @@ myhostname = {{ ansible_fqdn }}
# Liste des noms de domaine (ou IP) consideres comme local
#par defaut, = $myhostname, localhost.$mydomain, localhost
mydestination = $myhostname localhost.localdomain localhost
mydestination = $myhostname localhost localhost.localdomain localhost.$mydomain
# Indique le domaine apparaissant dans le courrier envoye
#par defaut, = $myhostname