mirror of
https://github.com/DanWin/mail-hosting.git
synced 2024-11-22 07:30:26 +00:00
5 lines
529 B
CFEngine3
5 lines
529 B
CFEngine3
user = postfix_readonly
|
|
password = YOUR_PASSWORD
|
|
hosts = localhost
|
|
dbname = postfix
|
|
query = SELECT 'reject_plaintext_session' 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_in = 1 UNION SELECT 'reject_plaintext_session' FROM alias WHERE address=CONCAT('%u', '@', COALESCE((SELECT target_domain FROM alias_domain WHERE alias_domain = '%d' AND active='1'), '%d')) AND active = 1 AND enforce_tls_in = 1
|