feat(postfix-pgsql): add Dockerfile with templated config and entrypoint
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# =============================================================================
|
||||
# Postfix pgsql_table lookup: relay_domains
|
||||
#
|
||||
# Returns the domain itself when Postfix should relay mail for it.
|
||||
# Rendered at container startup from environment variables.
|
||||
# =============================================================================
|
||||
|
||||
user = ${POSTGRES_USER}
|
||||
password = ${POSTGRES_PASSWORD}
|
||||
hosts = ${POSTGRES_HOST}:${POSTGRES_PORT}
|
||||
dbname = ${POSTGRES_DB}
|
||||
query = SELECT domain FROM relay_domain WHERE domain='%s'
|
||||
Reference in New Issue
Block a user