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:
Alexander Foremny 2021-01-11 12:54:34 +01:00
parent 65d0e2d241
commit 4b772fd698
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ let
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
in {
smtp_url = "'${smtpBaseUrl}'";
smtp_pass = "'`${passCmd}`'";
smtp_pass = ''"`${passCmd}`"'';
};
genMaildirAccountConfig = account:

View File

@ -10,7 +10,7 @@ set mbox_type = Maildir
set sort = "threads"
# MTA section
set smtp_pass='`password-command`'
set smtp_pass="`password-command`"
set smtp_url='smtps://home.manager@smtp.example.com'