Hello Roger, On 2019-08-26 11:41 a.m., Roger Shimizu wrote: > I tried to put my .msmtprc to somewhere else than $HOME, and just make a > symbolic link to $HOME. But msmtp refused to read that way and report: > > ==== > $ msmtp -v -t < ../email.txt > ignoring system configuration file /etc/msmtprc: No such file or directory > ignoring user configuration file /home/[HOME]/.msmtprc: Permission denied > falling back to default account > msmtp: account default not found: no configuration file available > ====
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! Regards, Simon