On 2019-08-28 5:42 a.m., Roger Shimizu wrote:
> control: severity -1 wishlist
> control: tag -1 +patch
> 
> Dear Simon,
> 
> On Tue, Aug 27, 2019 at 1:26 AM Simon Deziel <[email protected]> wrote:
>>
>> This permission denied is likely due to Apparmor not letting msmtp
>> access a "random file". The Apparmor profile only allows reading the
>> config from a few different locations and the rest is denied. Please
>> consult the NEWS file for details and/or the profile itself:
>> /etc/apparmor.d/usr.bin.msmtp
>>
>> The NEWS file provides possible workarounds to support your
>> "non-standard" setup. If you have any questions after that, please let
>> us know!
> 
> Thanks for the hint!
> Yes, I confirm it's an apparmor issue after checking dmesg log.
> And I added one line to /etc/apparmor.d/usr.bin.msmtp to fix my problem.
> 
> Enclosed is the patch.
> I think since "dot_msmtprc" can be the user setting file, why not
> adding another "_msmtprc"?
> And it's no harm. :-P

The "dot_" prefix was added to support chezmoi [1], would you mind
letting us know which system you are using that wants to use "_" prefixes?

Thanks,
Simon

1: https://github.com/twpayne/chezmoi

Reply via email to