https://bugs.koozali.org/show_bug.cgi?id=12144

            Bug ID: 12144
           Summary: Updating dovecot-extras overwrites existing
                    sharedmailbox.db
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: x86_64
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-dovecot-extras
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

# cat POSTIN
# Migrate the sharedmailbox dict to its new location
if [ -e /etc/dovecot/sharedmailbox/dict.db ]; then
    mv -f /etc/dovecot/sharedmailbox/dict.db
/home/e-smith/db/dovecot/sharedmailbox.db
    rm -rf /etc/dovecot/sharedmailbox
fi

# ll /home/e-smith/db/dovecot/
total 8
-r--r--r-- 1 root           root           232 Jul 22 00:00 POSTIN
-rw-r--r-- 1 user           sharedmailbox 4008 Jul 19 09:38 sharedmailbox.db

Original dict.db from rpm is an empty file, should only be moved if
/home/e-smith/db/dovecot/sharedmailbox.db doesn't already exist (and has data
in it).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to