6 lines
358 B
Cheetah
6 lines
358 B
Cheetah
hosts = {{ getenv "DB_HOST" }}
|
|
user = {{ getenv "DB_USER" "email" }}
|
|
password = {{ getenv "DB_PASSWORD" }}
|
|
dbname = {{ getenv "DB_NAME" "email" }}
|
|
query = SELECT email FROM virtual_users WHERE email='%u' UNION SELECT destination FROM virtual_aliases WHERE source='%u' UNION SELECT email FROM virtual_users WHERE wildcard_sender = true AND domain_name = '%d'
|