postfix.sh 236 B

123456789101112
  1. #!/bin/sh
  2. set -ex
  3. # http://www.postfix.org/postconf.5.html#alias_database
  4. # http://www.postfix.org/newaliases.1.html
  5. newaliases
  6. # http://www.postfix.org/MAILLOG_README.html
  7. postconf -e maillog_file=/dev/stdout
  8. exec postfix start-fg