mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
neomutt: fix smtp_pass option
Configuration option `smtp_pass` is expected to evaluate a shell command, thus its value has to be in double-quotes.
This commit is contained in:
parent
65d0e2d241
commit
4b772fd698
2 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ let
|
||||||
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
|
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
|
||||||
in {
|
in {
|
||||||
smtp_url = "'${smtpBaseUrl}'";
|
smtp_url = "'${smtpBaseUrl}'";
|
||||||
smtp_pass = "'`${passCmd}`'";
|
smtp_pass = ''"`${passCmd}`"'';
|
||||||
};
|
};
|
||||||
|
|
||||||
genMaildirAccountConfig = account:
|
genMaildirAccountConfig = account:
|
||||||
|
|
|
@ -10,7 +10,7 @@ set mbox_type = Maildir
|
||||||
set sort = "threads"
|
set sort = "threads"
|
||||||
|
|
||||||
# MTA section
|
# MTA section
|
||||||
set smtp_pass='`password-command`'
|
set smtp_pass="`password-command`"
|
||||||
set smtp_url='smtps://home.manager@smtp.example.com'
|
set smtp_url='smtps://home.manager@smtp.example.com'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue