From 07176bb90a8b47b2211646b3f343f4199f38febc Mon Sep 17 00:00:00 2001 From: gau1991 Date: Tue, 26 Aug 2014 18:11:49 +0530 Subject: [PATCH] Fixed Amavis setup issue --- src/vendor/ee_ven_setup_vimbadmin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vendor/ee_ven_setup_vimbadmin.sh b/src/vendor/ee_ven_setup_vimbadmin.sh index c6e72744..e432897c 100644 --- a/src/vendor/ee_ven_setup_vimbadmin.sh +++ b/src/vendor/ee_ven_setup_vimbadmin.sh @@ -47,8 +47,8 @@ function ee_ven_setup_vimbadmin() || ee_lib_error "Unable to setup ViMbAdmin database details in dovecot-sql.conf.ext file, exit status = " $? # Changing hosts and password of ViMbAdmin database in Amavis configuration - sed -s "s/127.0.0.1/$EE_MYSQL_HOST/" /etc/amavis/conf.d/50-user && - sed -s "s/password/$ee_random/" /etc/amavis/conf.d/50-user \ + sed -i "s/127.0.0.1/$EE_MYSQL_HOST/" /etc/amavis/conf.d/50-user && + sed -i "s/password/$ee_random/" /etc/amavis/conf.d/50-user \ || ee_lib_error "Unable to setup ViMbAdmin database details in 50-user file, exit status = " $? # Copying HTACCESS