Talk:Msmtp

From ArchWiki
Latest comment: 7 December 2020 by Beepboo in topic /etc/msmtprc permissions/uid/gid

We need to write a custom unite file and its timer.Gabx (talk) 17:41, 9 July 2014 (UTC)Reply[reply]

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)Reply[reply]

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)Reply[reply]

/etc/msmtprc permissions/uid/gid

$ chmod 600 ~/.msmtprc

If we decide to install system wide, what is the correct permissions and uid/gid we should apply to the file? Looks like 644 is needed, so global read. Beepboo (talk) 10:23, 7 December 2020 (UTC)Reply[reply]