浏览代码

install email packages into images

Bob Mottram 8 年前
父节点
当前提交
4d22402f44
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      src/freedombone-image-customise

+ 7
- 0
src/freedombone-image-customise 查看文件

1223
     fi
1223
     fi
1224
 }
1224
 }
1225
 
1225
 
1226
+function image_install_email {
1227
+    chroot "$rootdir" apt-get -yq remove postfix
1228
+    chroot "$rootdir" apt-get -yq install exim4 sasl2-bin swaks
1229
+    chroot "$rootdir" apt-get -yq install libnet-ssleay-perl procmail
1230
+    chroot "$rootdir" apt-get -yq install dovecot-imapd
1231
+}
1226
 
1232
 
1227
 ##############################################################################
1233
 ##############################################################################
1228
 
1234
 
1404
 image_setup_utils
1410
 image_setup_utils
1405
 image_install_inadyn
1411
 image_install_inadyn
1406
 image_install_nodejs
1412
 image_install_nodejs
1413
+image_install_email
1407
 
1414
 
1408
 # remove downloaded packages
1415
 # remove downloaded packages
1409
 chroot $rootdir apt-get -y autoremove
1416
 chroot $rootdir apt-get -y autoremove