diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-18 17:14:55 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-18 17:14:55 +0100 |
commit | d2da1671c22b58c59212ccf758e2809a160bf224 (patch) | |
tree | 91ab6b4f7ecbce5197991a63a85785e3019d3c8c /hosts/surtr/email/default.nix | |
parent | 8980463b8e7390d1fe138c9711254daf20115f7a (diff) | |
download | nixos-d2da1671c22b58c59212ccf758e2809a160bf224.tar nixos-d2da1671c22b58c59212ccf758e2809a160bf224.tar.gz nixos-d2da1671c22b58c59212ccf758e2809a160bf224.tar.bz2 nixos-d2da1671c22b58c59212ccf758e2809a160bf224.tar.xz nixos-d2da1671c22b58c59212ccf758e2809a160bf224.zip |
move dovecot lmtp socket outside of postfix runtime dir
Diffstat (limited to 'hosts/surtr/email/default.nix')
-rw-r--r-- | hosts/surtr/email/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/surtr/email/default.nix b/hosts/surtr/email/default.nix index 6b1c0ca1..0d1ccf30 100644 --- a/hosts/surtr/email/default.nix +++ b/hosts/surtr/email/default.nix | |||
@@ -203,7 +203,7 @@ in { | |||
203 | query = SELECT 1 FROM virtual_mailbox_mapping WHERE lookup = '%s' OR (lookup = regexp_replace('%s', '\+[^@]*@', '@') AND NOT EXISTS (SELECT 1 FROM virtual_mailbox_mapping WHERE lookup = '%s')) | 203 | query = SELECT 1 FROM virtual_mailbox_mapping WHERE lookup = '%s' OR (lookup = regexp_replace('%s', '\+[^@]*@', '@') AND NOT EXISTS (SELECT 1 FROM virtual_mailbox_mapping WHERE lookup = '%s')) |
204 | ''}''; | 204 | ''}''; |
205 | dvlmtp_destination_recipient_limit = "1"; | 205 | dvlmtp_destination_recipient_limit = "1"; |
206 | virtual_transport = "dvlmtp:unix:/run/postfix/dovecot-lmtp"; | 206 | virtual_transport = "dvlmtp:unix:/run/dovecot-lmtp"; |
207 | smtputf8_enable = false; | 207 | smtputf8_enable = false; |
208 | 208 | ||
209 | authorized_submit_users = "inline:{ root= postfwd= }"; | 209 | authorized_submit_users = "inline:{ root= postfwd= }"; |
@@ -504,7 +504,7 @@ in { | |||
504 | service lmtp { | 504 | service lmtp { |
505 | vsz_limit = 1G | 505 | vsz_limit = 1G |
506 | 506 | ||
507 | unix_listener /run/postfix/dovecot-lmtp { | 507 | unix_listener /run/dovecot-lmtp { |
508 | mode = 0600 | 508 | mode = 0600 |
509 | user = postfix | 509 | user = postfix |
510 | group = postfix | 510 | group = postfix |