[Bug 715056] Re: invalid ssl-certificates in /etc/postfix/main.cf after security upgrade

Marc Deslauriers marc.deslauriers at canonical.com
Tue Feb 8 14:16:53 UTC 2011


Thanks for reporting this.

This is caused by the mail-stack-delivery package's postinst script.

In theory, this should only happen when a main.cf backup file located at
/var/backups/mail-stack-delivery/main.cf-backup could not be found,
which would mean that i had not been installed before.

Unfortunately, this doesn't seem to be the case. This part of the
postinst script is wrong:

	if [ -f "/etc/postfix/main.cf" ]; then
                if [ -e "$POSTFIX_BCKFILE" ]; then
                        mv $POSTFIX_BCKFILE ${POSTFIX_BCKFILE}-$(date +%Y%m%d%H%M)
                fi
       		if [ -z "$2" -o ! -e "$POSTFIX_BCKFILE" ]; then

If the backup file exists, it renames it...but then checks to see if it
exists again (which it doesn't, since it just got renamed)...

** Changed in: dovecot (Ubuntu)
       Status: New => Confirmed

** Changed in: dovecot (Ubuntu)
     Assignee: (unassigned) => Chuck Short (zulcss)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in ubuntu.
https://bugs.launchpad.net/bugs/715056

Title:
  invalid ssl-certificates in /etc/postfix/main.cf after security
  upgrade



More information about the Ubuntu-server-bugs mailing list