msmtp (1.8.3-1) unstable; urgency=medium The system-wide configuration file (/etc/msmtprc) can contain SMTP credentials that are best kept secret. To let regular users use msmtp while preventing them from reading the file, the permissions can be adjusted that way: # chmod 0640 /etc/msmtprc # chgrp msmtp /etc/msmtprc So that msmtp's binary executing as the "msmtp" group (setgid) can access it. -- Simon Deziel Sun, 20 Jan 2019 20:41:20 -0500 msmtp (1.8.2-1) unstable; urgency=medium /usr/bin/msmtp ships with an Apparmor profile restricting what the binary can access. If you notice Apparmor denial logs in dmesg, please report them as bugs or if they are specific to your environment, please add local rules to /etc/apparmor.d/local/usr.bin.msmtp and reload the main profile with: # apparmor_parser -r -T -W /etc/apparmor.d/usr.bin.msmtp The usage of secret helpers for the --passwordeval option is limited to gpg, gpg2, secret-tool, pass, etc. To use a different helper, edit and reload the main profile (/etc/apparmor.d/usr.bin.msmtp). If you'd like to disable the Apparmor profile completely: # apparmor_parser -R /etc/apparmor.d/usr.bin.msmtp # ln -s /etc/apparmor.d/usr.bin.msmtp /etc/apparmor.d/disable/ -- Emmanuel Bouthenot Tue, 08 Jan 2019 04:31:46 +0000