reconfigure exim4
This commit is contained in:
parent
7827fe9401
commit
365d03a216
|
@ -893,6 +893,7 @@ function install_email {
|
||||||
|
|
||||||
function_check configure_firewall_for_email
|
function_check configure_firewall_for_email
|
||||||
configure_firewall_for_email
|
configure_firewall_for_email
|
||||||
|
dpkg-reconfigure --frontend noninteractive exim4-config
|
||||||
mark_completed $FUNCNAME
|
mark_completed $FUNCNAME
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -448,6 +448,7 @@ function email_extra_domains {
|
||||||
if [[ "$emailhostnames" != *" "* ]]; then
|
if [[ "$emailhostnames" != *" "* ]]; then
|
||||||
sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$emailhostnames'|g" /etc/exim4/update-exim4.conf.conf
|
sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$emailhostnames'|g" /etc/exim4/update-exim4.conf.conf
|
||||||
update-exim4.conf
|
update-exim4.conf
|
||||||
|
dpkg-reconfigure --frontend noninteractive exim4-config
|
||||||
systemctl restart saslauthd
|
systemctl restart saslauthd
|
||||||
dialog --title $"Email Domains" \
|
dialog --title $"Email Domains" \
|
||||||
--backtitle $"Freedombone Control Panel" \
|
--backtitle $"Freedombone Control Panel" \
|
||||||
|
|
Loading…
Reference in New Issue