mail/aerc: Actually use userName as user name

nazuna
Simon Bruder 2022-07-29 08:28:43 +02:00
parent cf8ad77f6c
commit 5bb1d42abe
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 2 additions and 2 deletions

View File

@ -25,13 +25,13 @@ in
source =
if notmuch.enable
then "notmuch://${config.accounts.email.maildirBasePath}"
else "`imap://${quoteMailAddress address}@${imap.host}`";
else "`imap://${quoteMailAddress userName}@${imap.host}`";
source-cred-cmd = "`${lib.concatStringsSep " " passwordCommand}`";
# TODO: remove when copy-to is implemented in aerc for notmuch
outgoing =
if notmuch.enable
then "${./msmtp-wrapper} ${name}"
else "`smtp+plain://${quoteMailAddress address}@${smtp.host}`";
else "`smtp+plain://${quoteMailAddress userName}@${smtp.host}`";
outgoing-cred-cmd = "`${lib.concatStringsSep " " passwordCommand}`";
from = "${realName} <${address}>";
smtp-starttls = if smtp.tls.useStartTls then "yes" else "no";