postfix: add missing localhost.$mydomain to mydestination

This commit is contained in:
William Hirigoyen 2023-05-02 14:20:39 +02:00
parent 9821fc8f78
commit db0b5ab3db
2 changed files with 3 additions and 2 deletions

View file

@ -18,7 +18,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
* evolinux-users: remove Stretch references in tasks that also apply to next Debian versions.
### Fixed
* packweb-apache,nagios-nrpe: add missing task and config fo PHP 8.2 container
* packweb-apache,nagios-nrpe: add missing task and config for PHP 8.2 container
* potsfix: add missing `localhost.$mydomain` to mydestination
### Removed

View file

@ -25,7 +25,7 @@
ansible.builtin.lineinfile:
dest: /etc/postfix/main.cf
state: present
line: "mydestination = {{ [evolinux_fqdn, evolinux_internal_fqdn] | unique | join(' ') }} localhost.localdomain localhost"
line: "mydestination = {{ [evolinux_fqdn, evolinux_internal_fqdn] | unique | join(' ') }} localhost.localdomain localhost localhost.$mydomain"
regexp: '^mydestination'
notify: reload postfix
tags: