# Removing postfix config

mv /etc/postfix/main.cf /etc/postfix/main.cf.tmp
sed '/^#begin: sagator/,/^#end: sagator/d' \
  < /etc/postfix/main.cf.tmp > /etc/postfix/main.cf

mv /etc/postfix/master.cf /etc/postfix/master.cf.tmp
sed '/^#begin: sagator/,/^#end: sagator/d' \
  < /etc/postfix/master.cf.tmp > /etc/postfix/master.cf

/etc/init.d/postfix reload || true
