File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
src/modules/stack/install/mail Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 22
33function ee_mod_install_dovecot()
44{
5+ # Add Dovecot repo for Debian 6
6+ ee_mod_repo_dovecot
7+ ee_lib_apt_get_update
8+
59 # Install Dovecot
610 ee_lib_echo " Installing Dovecot, please wait..."
711 debconf-set-selections <<< " dovecot-core dovecot-core/create-ssl-cert boolean yes"
Original file line number Diff line number Diff line change 1+ # Setup nginx repository
2+
3+ function ee_mod_repo_dovecot()
4+ {
5+ if [ " $EE_DEBIAN_VERSION " == " squeeze" ]; then
6+
7+ # Add Dovecot repository
8+ # Ref:http://wiki2.dovecot.org/PrebuiltBinaries
9+
10+ ee_lib_echo " Adding Dovecot repository, please wait..."
11+ echo " deb http://xi.rename-it.nl/debian/ oldstable-auto/dovecot-2.2 main" > /etc/apt/sources.list.d/dovecot-$( lsb_release -sc) .list \
12+ || ee_lib_error " Unable to add Dovecot repository, exit status = " $?
13+
14+ # Fetch and install Dovecot GnuPG key
15+ wget -O - http://xi.rename-it.nl/debian/archive.key | apt-key add - \
16+ || ee_lib_error " Unable to fetch Dovecot GnuPG key, exit status = " $?
17+
18+ fi
19+ }
You can’t perform that action at this time.
0 commit comments