瀏覽代碼

reconfigure exim4

Bob Mottram 8 年之前
父節點
當前提交
365d03a216
共有 2 個檔案被更改,包括 2 行新增0 行删除
  1. 1
    0
      src/freedombone-base-email
  2. 1
    0
      src/freedombone-controlpanel

+ 1
- 0
src/freedombone-base-email 查看文件

@@ -893,6 +893,7 @@ function install_email {
893 893
 
894 894
     function_check configure_firewall_for_email
895 895
     configure_firewall_for_email
896
+    dpkg-reconfigure --frontend noninteractive exim4-config
896 897
     mark_completed $FUNCNAME
897 898
 }
898 899
 

+ 1
- 0
src/freedombone-controlpanel 查看文件

@@ -448,6 +448,7 @@ function email_extra_domains {
448 448
                     if [[ "$emailhostnames" != *" "* ]]; then
449 449
                         sed -i "s|dc_other_hostnames=.*|dc_other_hostnames='$emailhostnames'|g" /etc/exim4/update-exim4.conf.conf
450 450
                         update-exim4.conf
451
+                        dpkg-reconfigure --frontend noninteractive exim4-config
451 452
                         systemctl restart saslauthd
452 453
                         dialog --title $"Email Domains" \
453 454
                                --backtitle $"Freedombone Control Panel" \