I'm not an expert on the unattended-upgrades package or the Python apt
module, so some of this could be wrong.


How have you defined the mail variable in the /etc/apt/apt.conf.d/ files?

It is like this?
Unattended-Upgrade::Mail {
        "[EMAIL PROTECTED]";
};

If so then I think this problem is that syntax defines a list, which is 
supposed to be read by the apt_pkg.Config.FindValueList function, eg:
apt_pkg.Config.FindValueList("Unattended-Upgrade::Allowed-Origins")


The unattended-upgrades python code expects the Unattended-Upgrade::Mail 
variable to be a single value and not a list, so I think it should look like 
this:
Unattended-Upgrade::Mail "[EMAIL PROTECTED]";

Using the second form produces the correct values, but I've not yet
tested that it will send any email.

Would you be able to try again using that style and let me know if it
works or not?

-- 
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

Reply via email to