mail/aerc: Actually use userName as user name
This commit is contained in:
parent
cf8ad77f6c
commit
5bb1d42abe
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue