Thanks for your report.
The relevant error is ===== Setting up ssmtp (2.61-13ubuntu1.1) ...
Installing new version of config file /etc/logcheck/ignore.d.server/ssmtp ...
export: 44: #: bad variable name
dpkg: error processing ssmtp (--configure):
subprocess post-installation script returned error exit status 2 =====
Affecting to ssmtp
Thanks for your report.
The relevant error is
=====
Setting up ssmtp (2.61-13ubuntu1.1) ...
Installing new version of config file /etc/logcheck/ ignore. d.server/ ssmtp ...
export: 44: #: bad variable name
dpkg: error processing ssmtp (--configure):
subprocess post-installation script returned error exit status 2
=====
Affecting to ssmtp