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
|
@ -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