mail/aerc: Actually use userName as user name
This commit is contained in:
parent
cf8ad77f6c
commit
5bb1d42abe
|
@ -25,13 +25,13 @@ in
|
||||||
source =
|
source =
|
||||||
if notmuch.enable
|
if notmuch.enable
|
||||||
then "notmuch://${config.accounts.email.maildirBasePath}"
|
then "notmuch://${config.accounts.email.maildirBasePath}"
|
||||||
else "`imap://${quoteMailAddress address}@${imap.host}`";
|
else "`imap://${quoteMailAddress userName}@${imap.host}`";
|
||||||
source-cred-cmd = "`${lib.concatStringsSep " " passwordCommand}`";
|
source-cred-cmd = "`${lib.concatStringsSep " " passwordCommand}`";
|
||||||
# TODO: remove when copy-to is implemented in aerc for notmuch
|
# TODO: remove when copy-to is implemented in aerc for notmuch
|
||||||
outgoing =
|
outgoing =
|
||||||
if notmuch.enable
|
if notmuch.enable
|
||||||
then "${./msmtp-wrapper} ${name}"
|
then "${./msmtp-wrapper} ${name}"
|
||||||
else "`smtp+plain://${quoteMailAddress address}@${smtp.host}`";
|
else "`smtp+plain://${quoteMailAddress userName}@${smtp.host}`";
|
||||||
outgoing-cred-cmd = "`${lib.concatStringsSep " " passwordCommand}`";
|
outgoing-cred-cmd = "`${lib.concatStringsSep " " passwordCommand}`";
|
||||||
from = "${realName} <${address}>";
|
from = "${realName} <${address}>";
|
||||||
smtp-starttls = if smtp.tls.useStartTls then "yes" else "no";
|
smtp-starttls = if smtp.tls.useStartTls then "yes" else "no";
|
||||||
|
|
Loading…
Reference in a new issue