Combining "practical password management" with sendmail.
Hi, could someone post how to combine the use of gpg with Mutt's sendmail variable? In .muttrc, I tried setting sendmail to "msmtp --passwordeval 'gpg -d mypwfile.gpg'", but it thinks that -d is an option for msmtp, and fails. Thanks! PeteLewis (talk) 10:40, 28 October 2014 (UTC)
Use with cron, security
Is there anyway to avoid plaintext password and still have this working with cron? Currently I have it setup with a plaintext password in /etc/msmtprc. I set /etc/msmtprc to read-only by root:mail and set /usr/bin/msmtp as setgid mail. I think this is as secure as I can make it. Bobpaul (talk) 00:38, 5 January 2019 (UTC)
$ chmod 600 ~/.msmtprc