maiadbtool.pl --delete-address can leave database in incorrect state
|Reported by:||dmorton||Owned by:||mortonda@…|
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 (5)
comment:3 Changed 7 years ago by mortonda@…
- Owner changed from rjl to mortonda@…
- Status changed from new to accepted
comment:4 Changed 7 years ago by mortonda@…
- Resolution set to fixed
- Status changed from accepted to testing