mailserver-config/postfix/virtual-alias-maps.conf

6 lines
322 B
Plaintext
Raw Permalink Normal View History

2024-05-23 22:18:17 +02:00
user = virtualmail
password = nusif78yadkasc8ujieaw89y
hosts = 127.0.0.1
dbname = mailserver
query = select distinct destination from vw_aliases where source='%s' or source = '@%d' and not EXISTS(select email from vw_mailboxes where email = '%s') union ALL select email as destination from vw_mailboxes where email = '%s'