Ticket #493 (testing defect: fixed)
maiadbtool.pl --delete-address can leave database in incorrect state
| Reported by: | dmorton | Owned by: | mortonda@… |
|---|---|---|---|
| Priority: | high | Milestone: | 1.0.3 |
| Component: | Perl scripts | Version: | 1.0.2 |
| Severity: | major | Keywords: | |
| Cc: |
Description
maiadbtool --delete-address currently deletes the users table entry, but if the entry is a primary address with secondary addresses linked, it does not delete the maia_user; however, autocreation expects there to *not* be a maia_user if there is no matching row in the users table.
This can lead to errors from amavisd-maia attempting to create duplicate keys.
maiadbtool should issue a warning when attempting to delete a primary address that has secondary addresses linked to it.
Change History
Note: See
TracTickets for help on using
tickets.

