You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213141516 |
- #! /usr/bin/env sh
-
- sed -e "s/hosts *=.*/hosts = ${POSTGRES_HOST}/g" -i /etc/postfix/pgsql_*
- sed -e "s/user *=.*/user = ${POSTGRES_USER}/g" -i /etc/postfix/pgsql_*
- sed -e "s/password *=.*/password = ${POSTGRES_PASSWORD}/g" -i /etc/postfix/pgsql_*
- sed -e "s/dbname *=.*/dbname = ${POSTGRES_DB}/g" -i /etc/postfix/pgsql_*
-
- postconf -e mydomain="${MAIL_DOMAIN}"
- postconf -e myhostname="${MAIL_HOSTNAME}"
-
- service rsyslog start
- service postfix start
-
- sleep 3
-
- tail -f /var/log/mail.info
|