Bob Mottram 7 years ago
parent
commit
99bb2ced9d
1 changed files with 1 additions and 11 deletions
  1. 1
    11
      src/freedombone-image-customise

+ 1
- 11
src/freedombone-image-customise View File

1163
     chroot "$rootdir" apt-get -yq remove postfix
1163
     chroot "$rootdir" apt-get -yq remove postfix
1164
     chroot "$rootdir" apt-get -yq install exim4 exim4-daemon-heavy sasl2-bin swaks libnet-ssleay-perl procmail
1164
     chroot "$rootdir" apt-get -yq install exim4 exim4-daemon-heavy sasl2-bin swaks libnet-ssleay-perl procmail
1165
     chroot "$rootdir" apt-get -yq install spamassassin
1165
     chroot "$rootdir" apt-get -yq install spamassassin
1166
-    #chroot "$rootdir" apt-get -yq install dovecot-core dovecot-imapd
1167
-
1168
-    # TODO generate certs for exim and dovecot if needed on first boot
1166
+    chroot "$rootdir" apt-get -yq install dovecot-imapd
1169
 
1167
 
1170
     #backup
1168
     #backup
1171
     chroot "$rootdir" apt-get -yq install obnam gnupg
1169
     chroot "$rootdir" apt-get -yq install obnam gnupg
1223
     fi
1221
     fi
1224
 }
1222
 }
1225
 
1223
 
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
-}
1232
-
1233
 ##############################################################################
1224
 ##############################################################################
1234
 
1225
 
1235
 
1226
 
1410
 image_setup_utils
1401
 image_setup_utils
1411
 image_install_inadyn
1402
 image_install_inadyn
1412
 image_install_nodejs
1403
 image_install_nodejs
1413
-image_install_email
1414
 
1404
 
1415
 # remove downloaded packages
1405
 # remove downloaded packages
1416
 chroot $rootdir apt-get -y autoremove
1406
 chroot $rootdir apt-get -y autoremove