This repository has been archived on 2024-07-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
etckeeper/postfix/mysql_virtual_recipient_access.cf
T
2022-12-22 11:06:25 +01:00

7 lines
342 B
CFEngine3

user = postfix
password = e9EEBSJCxPHw
hosts = localhost
dbname = postfixdb
#query = select if(sendonly = true, 'REJECT', 'OK') AS access from mailbox where username = '%u' and domain = '%d' and enabled = true LIMIT 1;
query = select if(sendonly = true, 'REJECT', 'OK') AS access from mailbox where username = '%u' and active = true LIMIT 1;