install email packages into images

This commit is contained in:
Bob Mottram 2017-06-14 16:38:42 +01:00
parent e7a0947920
commit 4d22402f44
1 changed files with 7 additions and 0 deletions

View File

@ -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