Initial commit
This commit is contained in:
5
etc/postfix/sql/mysql_virtual_auth_maps.cf
Normal file
5
etc/postfix/sql/mysql_virtual_auth_maps.cf
Normal file
@ -0,0 +1,5 @@
|
||||
user = postfix_readonly
|
||||
password = YOUR_PASSWORD
|
||||
hosts = localhost
|
||||
dbname = postfix
|
||||
query = SELECT username FROM mailbox WHERE username=CONCAT('%u', '@', COALESCE((SELECT target_domain FROM alias_domain WHERE alias_domain = '%d' AND active='1'), '%d')) AND active = '1'
|
Reference in New Issue
Block a user