postfix: add localhost. to mydestination
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good

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 * packweb-apache: enable `log_forensic` module
* rabbitmq: add link in default page * rabbitmq: add link in default page
* varnish: create special tmp directory for syntax validation * varnish: create special tmp directory for syntax validation
* postfix: add localhost.$mydomain to mydestination
### Changed ### Changed

View file

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

View file

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