| 1 |
Template: msmtp/apparmor |
| 2 |
Type: boolean |
| 3 |
Default: false |
| 4 |
_Description: Enable AppArmor support? |
| 5 |
Apparmor is a kernel security mechanism to restrict programs capabilities |
| 6 |
with per-program profiles. |
| 7 |
. |
| 8 |
The AppArmor profile for msmtp covers a lot of common usecases but there are |
| 9 |
still corner cases with some options which breaks msmtp with incomprehensible |
| 10 |
permissions denied errors. |
| 11 |
|
| 12 |
Template: msmtp/security-information |
| 13 |
Type: error |
| 14 |
_Description: Remove SetGID bit on msmtp |
| 15 |
Starting from version 1.8.22, msmtp will no longer be SetGID. Hence the |
| 16 |
creation of the system-wide configuration (/etc/msmtprc) using debconf is |
| 17 |
removed. |
| 18 |
. |
| 19 |
From one side, using the system wide configuration implied msmtp to be SetGID |
| 20 |
but recent security hardening changes in GLib prevent SetGID binaries built |
| 21 |
against libsecret to talk to the D-Bus session, and therefore prevent it from |
| 22 |
being able to retrieve passwords from gnome-keyring or KWallet. |
| 23 |
. |
| 24 |
On another side, it was easy for a local user to obtain the credentials |
| 25 |
stored in /etc/msmtprc even if the file was not readable for this user when |
| 26 |
msmtp was SetGid. |
| 27 |
. |
| 28 |
More information in the following bug reports: |
| 29 |
- https://bugs.debian.org/944188 |
| 30 |
- https://bugs.debian.org/995012 |