Add configuration for postfix to core image. Add docs.

This commit is contained in:
Abhilash Raj
2017-05-30 14:46:39 -07:00
parent 052ffa4eec
commit bb93477b0d
2 changed files with 75 additions and 26 deletions

View File

@@ -91,6 +91,13 @@ class: $DATABASE_CLASS
url: $DATABASE_URL
EOF
# Generate a basic configuration to use postfix.
cat > /etc/postfix-mailman.cfg <<EOF
[postfix]
transport_file_type: regex
EOF
if [[ -e /opt/mailman/mailman-extra.cfg ]]
then
echo "Found configuration file at /opt/mailman/mailman-extra.cfg"