Added clearnet proxy configuration files
This commit is contained in:
5
etc_clearnet_proxy/postfix/sql/mysql_tls_policy_out.cf
Normal file
5
etc_clearnet_proxy/postfix/sql/mysql_tls_policy_out.cf
Normal file
@ -0,0 +1,5 @@
|
||||
user = postfix_readonly
|
||||
password = YOUR_PASSWORD
|
||||
hosts = 127.0.0.1
|
||||
dbname = postfix
|
||||
query = SELECT IF(EXISTS(SELECT 'encrypt' FROM mailbox WHERE username=CONCAT('%u', '@', COALESCE((SELECT target_domain FROM alias_domain WHERE alias_domain = '%d' AND active='1'), '%d')) AND active = 1 AND enforce_tls_out = 1), 'smtp_enforced_tls:', 'smtp:')
|
Reference in New Issue
Block a user