You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using msmtp to send email from my Debian machine via my remote SMTP server that requires authentication.
Msmtp allows to have a command launched to get the password, thanks to his passwordeval directive. It works with gpg with specific options (--quiet --no-tty), but it doesn't work with rbw:
$ echo "test" | msmtp -a default [email protected]
sh: 1: rbw: Permission denied
msmtp: cannot read output of 'rbw get mail.example.org [email protected]'
My passwordeval directive in ~/.msmtprc is trivial: passwordeval "rbw get mail.example.org [email protected]".
I suspect an issue with the way rbw is managing stdin, especially because there is a specific warning in msmtp man page about passwordeval:
‘passwordeval [eval]’
Set the password for authentication to the output (stdout) of the command eval. This can be used e.g. to decrypt password files on the fly or to query key rings, and thus to avoid storing cleartext passwords.
Note that the eval command must not mess with standard input (stdin) because that is where msmtp reads the mail from. If in doubt, append < /dev/null to eval.
Do you have any clue to make rbw work seamlessly with msmtp ?
Thanks a lot!
PS: rbw 1.4.3 - works perfectly from the CLI, or with mbsync/isync with PassCmd
The text was updated successfully, but these errors were encountered:
I'm using msmtp to send email from my Debian machine via my remote SMTP server that requires authentication.
Msmtp allows to have a command launched to get the password, thanks to his passwordeval directive. It works with
gpg
with specific options (--quiet --no-tty
), but it doesn't work with rbw:My
passwordeval
directive in~/.msmtprc
is trivial:passwordeval "rbw get mail.example.org [email protected]"
.I suspect an issue with the way
rbw
is managingstdin
, especially because there is a specific warning in msmtp man page aboutpasswordeval
:Do you have any clue to make
rbw
work seamlessly with msmtp ?Thanks a lot!
PS: rbw 1.4.3 - works perfectly from the CLI, or with mbsync/isync with
PassCmd
The text was updated successfully, but these errors were encountered: