From 4d22402f4418f8585078a0726042c4dcc19b044e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 14 Jun 2017 16:38:42 +0100 Subject: [PATCH] install email packages into images --- src/freedombone-image-customise | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 908c68e6..eb225569 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -1223,6 +1223,12 @@ function image_install_nodejs { fi } +function image_install_email { + chroot "$rootdir" apt-get -yq remove postfix + chroot "$rootdir" apt-get -yq install exim4 sasl2-bin swaks + chroot "$rootdir" apt-get -yq install libnet-ssleay-perl procmail + chroot "$rootdir" apt-get -yq install dovecot-imapd +} ############################################################################## @@ -1404,6 +1410,7 @@ configure_user_interface image_setup_utils image_install_inadyn image_install_nodejs +image_install_email # remove downloaded packages chroot $rootdir apt-get -y autoremove