From 2db35aed077f1152e2152642501e213efed2298b Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Thu, 27 Mar 2025 19:28:14 +0100 Subject: [PATCH] pkgs: mailnix: Include password hash in system-users' passwd to enable sending mails --- pkgs/mailnix/src/dovecot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/mailnix/src/dovecot.rs b/pkgs/mailnix/src/dovecot.rs index e707d39..341afa7 100644 --- a/pkgs/mailnix/src/dovecot.rs +++ b/pkgs/mailnix/src/dovecot.rs @@ -17,8 +17,8 @@ pub fn generate_static_passdb(cfg: Config) { .accounts .into_iter() .filter(|(_, acc)| acc.is_system_user); - for (name, _) in system_accounts { - println!("{}:::::::", name); + for (name, acc) in system_accounts { + println!("{}:{}::::::", name, acc.hashed_password); } }