From d2da1671c22b58c59212ccf758e2809a160bf224 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 18 Jan 2023 17:14:55 +0100 Subject: move dovecot lmtp socket outside of postfix runtime dir --- hosts/surtr/email/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/surtr') 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 { 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')) ''}''; dvlmtp_destination_recipient_limit = "1"; - virtual_transport = "dvlmtp:unix:/run/postfix/dovecot-lmtp"; + virtual_transport = "dvlmtp:unix:/run/dovecot-lmtp"; smtputf8_enable = false; authorized_submit_users = "inline:{ root= postfwd= }"; @@ -504,7 +504,7 @@ in { service lmtp { vsz_limit = 1G - unix_listener /run/postfix/dovecot-lmtp { + unix_listener /run/dovecot-lmtp { mode = 0600 user = postfix group = postfix -- cgit v1.2.3