Files
ireddocker/iredmail/samples/postfix/pgsql/sender_dependent_relayhost_maps.cf
T
2020-07-31 12:45:56 +00:00

7 lines
307 B
CFEngine3

hosts = PH_SQL_SERVER_ADDRESS:PH_SQL_SERVER_PORT
user = PH_VMAIL_DB_BIND_USER
password = PH_VMAIL_DB_BIND_PASSWD
dbname = PH_VMAIL_DB_NAME
# '%s' will be replaced by the envelope sender address or @domain.
query = SELECT relayhost FROM sender_relayhost WHERE account='%s' LIMIT 1