#!/bin/sh # Author: Christoph Galuschka t_Log "Running $0 - Postfix plain SASL test." if [ "$CONTAINERTEST" -eq "1" ]; then t_Log "Running in container -> SKIP" exit 0 fi t_Log "Installing prerequisits" t_InstallPackage dovecot #creating backups of changed files cp -a /etc/postfix/main.cf /etc/postfix/main.cf_testing if [ $centos_ver = 5 ] then 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/dovecot.conf <> /etc/dovecot/dovecot.conf <