Commits

Zhang Huangbin  committed 6d2e2b6

Oops, dovecot-common on Debian/Ubuntu is useless, don't install it.

  • Participants
  • Parent commits ce8c849

Comments (0)

Files changed (2)

File iRedMail/functions/packages.sh

         fi
 
     elif [ X"${DISTRO}" == X"DEBIAN" -o X"${DISTRO}" == X"UBUNTU" ]; then
-        ALL_PKGS="${ALL_PKGS} dovecot-common dovecot-imapd dovecot-pop3d dovecot-managesieved dovecot-sieve"
+        ALL_PKGS="${ALL_PKGS} dovecot-imapd dovecot-pop3d dovecot-managesieved dovecot-sieve"
 
         if [ X"${BACKEND}" == X"OPENLDAP" ]; then
             ALL_PKGS="${ALL_PKGS} dovecot-ldap dovecot-mysql"

File iRedMail/functions/system_accounts.sh

     export FIRST_USER_MAILDIR_FULL_PATH="${STORAGE_MAILBOX_DIR}/${FIRST_USER_MAILDIR_HASH_PART}"
     # Create maildir.
     # We will deliver emails with sensitive info of iRedMail installation
-    # to postmaster immediately after installation completed, but delivering
-    # emails with dovecot-lda after installation completed doesn't work all the
-    # time, so we choose to deliver emails by copying mail messages to mailbox
-    # directly.
-    # NOTE: 'Maildir/' is appended by Dovecot.
+    # to postmaster immediately after installation completed.
+    # NOTE: 'Maildir/' is appended by Dovecot (defined in dovecot.conf).
     export FIRST_USER_MAILDIR_INBOX="${FIRST_USER_MAILDIR_FULL_PATH}/Maildir/new"
     mkdir -p ${FIRST_USER_MAILDIR_INBOX} &>/dev/null