Browse Source

Fixed various small issues

old-stable
gau1991 11 years ago
parent
commit
2c3720185d
  1. 3
      bin/easyengine
  2. 2
      src/modules/stack/install/mail/ee_mod_setup_amavis.sh
  3. 2
      src/modules/stack/install/mail/ee_mod_setup_sieve.sh

3
bin/easyengine

@ -163,11 +163,10 @@ elif [ "$EE_FIRST" = "stack" ] || [ "$EE_FIRST" = "system" ]; then
# Setup Sieve
ee_mod_setup_sieve
ee_lib_service nginx postfix dovecot restart
ee_lib_git /etc/nginx/ /etc/php5/ /etc/mysql/ /etc/postfix "Initialize Git"
ee_lib_git /etc/nginx/ /etc/dovecot /etc/php5/ /etc/mysql/ /etc/postfix "Initialize Git"
ee_lib_echo "Successfully installed mail server"

2
src/modules/stack/install/mail/ee_mod_setup_amavis.sh

@ -3,6 +3,8 @@
function ee_mod_setup_amavis()
{
# Confiure Amavis
ee_lib_echo "Setting up Amavis, please wait..."
sed -i "s'#@'@'" /etc/amavis/conf.d/15-content_filter_mode && \
sed -i "s'# ' '" /etc/amavis/conf.d/15-content_filter_mode \
|| ee_lib_error "Unable to setup Amavis, exit status = " $?

2
src/modules/stack/install/mail/ee_mod_setup_sieve.sh

@ -2,6 +2,8 @@
function ee_mod_setup_sieve()
{
ee_lib_echo "Setting up Sieve, please wait..."
# Enable sieve plugin support for dovecot-lmtp
sed -i "s' #mail_plugins = \$mail_plugins' postmaster_address = admin@example.com\n mail_plugins = \$mail_plugins sieve'" /etc/dovecot/conf.d/20-lmtp.conf \
|| ee_lib_error "Unable to add sieve plugin support for dovecot-lmtp, exit status = " $?

Loading…
Cancel
Save