# POSTFIX postfix () { sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s/DOMAIN/$DOMAIN/g" ./arqs-conf-rhel5/etc/postfix/main.cf > /etc/postfix/main.cf sed -e "s/DOMAIN/$DOMAIN/g" ./arqs-conf-rhel5/etc/postfix/expresso-dominios > /etc/postfix/expresso-dominios #cp ./arqs-conf-rhel5/etc/postfix/master.cf /etc/postfix/ postmap /etc/postfix/expresso-dominios service postfix restart chkconfig postfix on }