no, I had not imported the python apt module (I wonder why apt_pkg did not complain?).
Now I have, and now email = apt_pkg.Config.Find("Unattended-Upgrade::Mail", "") indeed yields the configured mail address. Very good! So my configuration really was wrong (with Unattended-Upgrade::Mail configured as a list). Some complaint of unattended-upgrades in the log file would have been in order... Thanks. -- does not send mail despite Unattended-Upgrade::Mail set https://bugs.launchpad.net/bugs/136720 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs