Source

iredmail / iRedMail / samples / postfix / pgsql / relay_domains.cf

1
2
3
4
5
6
user        = vmail
password    = yCrSkh8YsoGn6GNKSVCVomi6ecb4Pi
hosts       = 127.0.0.1
port        = 5432
dbname      = vmail
query       = SELECT domain FROM domain WHERE domain='%s' AND backupmx=1 AND active=1