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

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.

  account default not found: no configuration file available

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to