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 <