Hi Peter,
The failure to read your msmtp's config is probably because it's a
symlink that points to a non-standard location that is not authorized by
default in the Apparmor profile. The Apparmor profile allows the
following locations:
/etc/msmtprc r,
owner @{HOME}/.msmtp* r,
owner @{HOME}/**/.msmtprc r,
owner @{HOME}/**/dot_msmtprc r,
owner @{HOME}/.config/msmtp/* r,
So you could do various thing to make it work on your setup:
1) move the config to a standard location (see above) and update the symlink
2) add this local override rule to /etc/apparmor.d/local/usr.bin.msmtp:
owner @{HOME}/.myconfig/msmtprc-* r,
3) disable the Apparmor profile
For 2 and 3, please refer to the README.Debian file for detailed
instructions.
For now, I'll mark the bug as invalid due to the non-standard location
used. If you have any questions or the above proposed solutions don't
work, please let me know. Thank you!
** Changed in: msmtp (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840035
Title:
account default not found: no configuration file available
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/msmtp/+bug/1840035/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs