1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +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:
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'