#219 delete mailbox/domain doesn't delete fetchmail entries

v2.3.2
closed-fixed
nobody
None
5
2013-11-10
2010-11-04
Christian Boltz
No

When deleting a mailbox or a domain, the fetchmail entries that have this mailbox (or a mailbox on this domain) as target for the mails are not deleted automatically. (They are hidden by the SQL query, but re-appear if you recreate the target mailbox.)

Options are:
a) just delete fetchmail entries when deleting the mailbox
b) forbid deleting the mailbox as long as fetchmail entries exist

I tend to a) - if someone doesn't like that, please speak up ;-)

(Found by yaaar in #postfixadmin)

Discussion

  • The best solution is probably somewhere in between ;-)

    The confirmation dialog (for deleting the mailbox/domain) should include a line saying "this will also delete 3 fetchmail jobs".

    (The confirmation dialog for deleting a domain should also list number of mailboxes and aliases, but that's a different story ;-)

     
    • status: open --> closed-fixed
     
  • Implemented with method "a)" in SVN trunk r1563