From bf56cdc40f268118853631c32ff2b0f6165079bf Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 4 Jun 2023 22:03:41 +0200 Subject: [PATCH] smtputf8_advertise_hosts patch fix --- src/deb/vesta/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index 97df816e2..28222d48f 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -30,7 +30,7 @@ if [ "$release" -gt 8 ]; then if [ -f "/etc/exim4/exim4.conf.template" ]; then if ! grep -q 'smtputf8_advertise_hosts' /etc/exim4/exim4.conf.template; then echo 'Patching exim4.conf for: smtputf8_advertise_hosts' - sed -i "/^domainlist local_domains = dsearch;\/etc\/exim4\/domains\//i smtputf8_advertise_hosts =" /etc/exim4/exim4.conf.template + sed -i "/^domainlist local_domains/i smtputf8_advertise_hosts =" /etc/exim4/exim4.conf.template systemctl restart exim4 fi fi