Hello Mantas,
On 2019-01-15 7:59 a.m., Mantas Mikulėnas wrote:
> 1. the traditional @{HOME}/.msmtprc, and
> 2. the XDG Basedir compatible @{HOME}/.config/msmtp/config
>
> The new AppArmor profile is missing the latter path. I think both
> default locations should be included in the standard profile. Similar to
> the current entry, the whole .config/msmtp/* should probably be
> whitelisted.
Apparmor fixes were proposed very recently in [1] addressing this issue.
> (Technically the latter is $XDG_CONFIG_HOME/msmtp/config, but I
> understand that AppArmor won't care about the user's environment
> variables, and I think that's fine – the local profile can be used.)
That is correct, no variable is looked up but the default value is
covered in the proposed fix.
Regards,
Simon
1: https://salsa.debian.org/kolter/msmtp/merge_requests/3