Debian Codegraph @

debian/NEWS

raw
1 msmtp (1.8.22-1) unstable; urgency=medium
2
3 Starting from version 1.8.22, msmtp will no longer be SetGID. Hence the
4 creation of the system-wide configuration (/etc/msmtprc) using debconf is
5 removed.
6
7 From one side, using the system-wide configuration implied msmtp to be SetGID
8 but recent security hardening changes in GLib prevent SetGID binaries built
9 against libsecret to talk to the D-Bus session, and therefore prevent it from
10 being able to retrieve passwords from gnome-keyring or KWallet.
11
12 On another side, it was easy for a local user to obtain the credentials
13 stored in /etc/msmtprc even if the file was not readable for this user
14 when msmtp was SetGID.
15
16 More information in the following bug reports:
17 - https://bugs.debian.org/944188
18 - https://bugs.debian.org/995012
19
20 Scripts (msmtpq and msmtpqueue) are now installed in /usr/libexec/msmtp
21 instead of /usr/share/doc/msmtp/examples previously.
22
23 -- Emmanuel Bouthenot <[email protected]> Tue, 25 Oct 2022 21:49:01 +0000
24
25 msmtp (1.8.3-1) unstable; urgency=medium
26
27 The system-wide configuration file (/etc/msmtprc) can contain SMTP credentials
28 that are best kept secret. To let regular users use msmtp while preventing them
29 from reading the file, the permissions can be adjusted that way:
30
31 # chmod 0640 /etc/msmtprc
32 # chgrp msmtp /etc/msmtprc
33
34 So that msmtp's binary executing as the "msmtp" group (setgid) can access it.
35
36 -- Simon Deziel <[email protected]> Sun, 20 Jan 2019 20:41:20 -0500
37
38 msmtp (1.8.2-1) unstable; urgency=medium
39
40 /usr/bin/msmtp ships with an Apparmor profile restricting what the binary
41 can access.
42 If you notice Apparmor denial logs in dmesg, please report them as bugs or
43 if they are specific to your environment, please add local rules to
44 /etc/apparmor.d/local/usr.bin.msmtp and reload the main profile with:
45
46 # apparmor_parser -r -T -W /etc/apparmor.d/usr.bin.msmtp
47
48 The usage of secret helpers for the --passwordeval option is limited to
49 gpg, gpg2, secret-tool, pass, etc. To use a different helper, edit and
50 reload the main profile (/etc/apparmor.d/usr.bin.msmtp). If you'd like
51 to disable the Apparmor profile completely:
52
53 # apparmor_parser -R /etc/apparmor.d/usr.bin.msmtp
54 # ln -s /etc/apparmor.d/usr.bin.msmtp /etc/apparmor.d/disable/
55
56 -- Emmanuel Bouthenot <[email protected]> Tue, 08 Jan 2019 04:31:46 +0000