Browse Source

install email packages into images

Bob Mottram 7 years ago
parent
commit
4d22402f44
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/freedombone-image-customise

+ 7
- 0
src/freedombone-image-customise View File

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