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.)
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)
Log in to post a comment.