From 9827be270d7fefd351d3186e3d5d8549ab0ca4f5 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Aug 09 2013 15:49:59 +0000 Subject: first version of postfix SASL test for C5 --- diff --git a/tests/p_postfix/40_postfix_sasl.sh b/tests/p_postfix/40_postfix_sasl.sh index 70fd565..4908bb5 100755 --- a/tests/p_postfix/40_postfix_sasl.sh +++ b/tests/p_postfix/40_postfix_sasl.sh @@ -6,14 +6,17 @@ t_Log "Installing prerequisits" t_InstallPackage dovecot nc -if [ $centos_ver = 6 ] +#creating backups of changed files +cp -a /etc/postfix/main.cf /etc/postfix/main.cf_testing +if [ $centos_ver = 5 ] then - #creating backups of changed files - cp -a /etc/postfix/main.cf /etc/postfix/main.cf_testing + cp -a /etc/dovecot.conf /etc/dovecot.conf_testing +else cp -a /etc/dovecot/dovecot.conf /etc/dovecot/dovecot.conf_testing +fi - #adding parameters to postfix - cat >> /etc/postfix/main.cf <> /etc/postfix/main.cf <> /etc/dovecot.conf <> /etc/dovecot/dovecot.conf <