File tree Expand file tree Collapse file tree 6 files changed +14
-4
lines changed
Expand file tree Collapse file tree 6 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,9 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
9090fi
9191
9292# Create mail account folder (mailbox)
93- mkdir $HOMEDIR /$user /mail/$domain /$account
94- chown $user :mail $HOMEDIR /$user /mail/$domain /$account
95- chmod 700 $HOMEDIR /$user /mail/$domain /$account
93+ mkdir $HOMEDIR /$user /mail/$domain_idn /$account
94+ chown $user :mail $HOMEDIR /$user /mail/$domain_idn /$account
95+ chmod 700 $HOMEDIR /$user /mail/$domain_idn /$account
9696
9797# ----------------------------------------------------------#
9898# Hestia #
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
6060 sed -i " /^$account :/d" $HOMEDIR /$user /conf/mail/$domain /accounts
6161 sed -i " /^$account $/d" $HOMEDIR /$user /conf/mail/$domain /fwd_only
6262 sed -i " /^$account @$domain_idn :/d" $HOMEDIR /$user /conf/mail/$domain /limits
63- rm -rf $HOMEDIR /$user /mail/$domain /$account
63+ rm -rf $HOMEDIR /$user /mail/$domain_idn /$account
6464fi
6565
6666# ----------------------------------------------------------#
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ add_environment = <; PATH=/bin:/usr/bin
1515keep_environment =
1616disable_ipv6 = true
1717
18+ smtputf8_advertise_hosts =
1819domainlist local_domains = dsearch;/etc/exim4/domains/
1920domainlist relay_to_domains = dsearch;/etc/exim4/domains/
2021hostlist relay_from_hosts = 127.0.0.1
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ add_environment = <; PATH=/bin:/usr/bin
1515keep_environment =
1616disable_ipv6 = true
1717
18+ smtputf8_advertise_hosts =
1819domainlist local_domains = dsearch;/etc/exim4/domains/
1920domainlist relay_to_domains = dsearch;/etc/exim4/domains/
2021hostlist relay_from_hosts = 127.0.0.1
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ add_environment = <; PATH=/bin:/usr/bin
1313keep_environment =
1414disable_ipv6 = true
1515
16+ smtputf8_advertise_hosts =
1617domainlist local_domains = dsearch;/etc/exim/domains/
1718domainlist relay_to_domains = dsearch;/etc/exim/domains/
1819hostlist relay_from_hosts = 127.0.0.1
Original file line number Diff line number Diff line change @@ -29,6 +29,13 @@ if [ "$IMAP_SYSTEM" = "dovecot" ]; then
2929 fi
3030fi
3131
32+ if [ " $MAIL_SYSTEM " = " exim4" ]; then
33+ echo " [ * ] Disable SMTPUTF8 for Exim for now"
34+ if grep -qw " ^smtputf8_advertise_hosts =" /etc/exim4/exim4.conf.template 2> /dev/null; then
35+ sed -i " /^domainlist local_domains = dsearch;\/etc\/exim4\/domains\/i smtputf8_advertise_hosts =" /etc/exim4/exim4.conf.template
36+ fi
37+ fi
38+
3239# Apply the update for existing users to enable the "Enhanced and Optimized TLS" feature
3340echo ' [ * ] Enable the "Enhanced and Optimized TLS" feature...'
3441
You can’t perform that action at this time.
0 commit comments