Here is my /var/lib/dpkg/info/ssmtp.config file.
set -e
. /usr/share/debconf/confmodule
if [ -f /etc/ssmtp/ssmtp.conf ]
then
for v in `grep -E
"^(root|mailhub|rewriteDomain|hostname|FromLineOverride)="
/etc/ssmtp/ssmtp.conf`
do
export $v
done
db_set ssmtp/root "$root"
if [ -n "$mailhub" ]
then
if [ `expr index "$mailhub" :` -ne 0 ]
then
db_set ssmtp/port "${mailhub#*:}"
db_set ssmtp/mailhub "${mailhub%:*}"
else
db_set ssmtp/port 25
db_set ssmtp/mailhub "$mailhub"
fi
fi
if [ -n "$rewriteDomain" ]
then
db_set ssmtp/rewritedomain "$rewriteDomain"
fi
if [ -n "$hostname" ]
then
db_set ssmtp/hostname "$hostname"
fi
if [ -n "$FromLineOverride" ]
then
if [ "$FromLineOverride" = "YES" ]
then
db_set ssmtp/fromoverride true
else
db_set ssmtp/fromoverride false
fi
fi
fi
db_input medium ssmtp/root || true
db_go
db_input medium ssmtp/mailhub || true
db_go
db_input low ssmtp/port || true
db_go
db_input medium ssmtp/rewritedomain || true
db_go
db_input low ssmtp/hostname || true
db_go
db_input medium ssmtp/fromoverride || true
db_go
# Program End
exit 0
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1897523
Title:
upgrade bug from 18.04 to 20.04; dpkg: error processing package ssmtp
(--configure): installed ssmtp package post-installation script
subprocess returned error exit status 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ssmtp/+bug/1897523/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs