Peter Rabbitson wrote:
> Peter Rabbitson wrote:
>> I have never seen this happen before, and there were no dbmail
>> upgrades either. What could have caused this and what did I possibly
>> lose?
>>
>> ....
>> Repairing DBMAIL physmessage integrity...
>> Ok. Found [22409] unconnected physmessages
>> Ok. Orphaned physmessages deleted.
>> ...
> 
> After asking some more around, it appears that during this particular
> week (I run dbmail-util weekly instead of daily) someone deleted a user
> like this:
> 
> dbmail-users -d <username>
> 
> The program ran for about 3 - 4 minutes and returned to the prompt. Can
> the above messages about orphans be connected to such an action, and is
> this normal?

Yes and yes.

When a uses is deleted, the cascades will trigger deletion of mailboxes
and messages. Physmessages however are only 'garbage-collected' by a
dbmail-util run. They are not connected to messages by foreign keys.



-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to