lxc-php: Fix config for opensmtpd on bullseye
continuous-integration/drone/pr Build was killed Details

pull/137/head
Mathieu Trossevin 1 year ago
parent fec9e49c18
commit 1902c40c3c
Signed by: mtrossevin
GPG Key ID: D1DBB7EA828374E9

@ -34,8 +34,9 @@ The **patch** part changes is incremented if multiple releases happen the same m
* evolinux-base: fix alert5.service dependency syntax
* mysql : Create a default ~root/.my.cnf for compatibility reasons
* nginx : fix variable name and debug to actually use nginx-light
* packweb-apache : Support php 8.0
* packweb-apache : Support php 8.0
* nagios-nrpe: Fix check\_nfsserver for buster and bullseye
* lxc-php: fix config for opensmtpd on bullseye containers
### Removed

@ -11,3 +11,13 @@
dest: "/var/lib/lxc/{{ lxc_php_version }}/rootfs/etc/smtpd.conf"
mode: "0644"
notify: "Restart opensmtpd"
when: lxc_php_container_releases[lxc_php_version] in ["jessie", "stretch", "buster"]
- name: "{{ lxc_php_version }} - Configure opensmtpd (in the container)"
template:
src: smtpd.conf.bullseye.j2
dest: "/var/lib/lxc/{{ lxc_php_version }}/rootfs/etc/smtpd.conf"
mode: "0644"
notify: "Restart opensmtpd"
when: not lxc_php_container_releases[lxc_php_version] in ["jessie", "stretch", "buster"]

@ -0,0 +1,17 @@
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
# To accept external mail, replace with: listen on all
#listen on localhost
# If you edit the file, you have to run "smtpctl update table aliases"
table aliases file:/etc/aliases
action "mbox" mbox alias <aliases>
action "relay" relay host "smtp://127.0.0.1"
# Uncomment the following to accept external mail for domain "example.org"
#match from any for domain "example.org" action "mbox"
match for local action "mbox"
match for any action "relay"
Loading…
Cancel
Save