core.signals.save_Mailbox module

Delete signal receivers for the core.models.Mailbox model.

core.signals.save_Mailbox.logger = <Logger core.signals.save_Mailbox (INFO)>

The logger instance for this module.

core.signals.save_Mailbox.post_save_mailbox_is_healthy(sender, instance, created, **kwargs)[source]

Receiver function flagging account and daemons of a mailbox according to a healthflag change.

Once that mailbox becomes healthy again flags the account of that mailbox as healthy If a mailbox becomed unhealthy flags its daemons as unhealthy as well.

Parameters:
  • sender (Mailbox) – The class type that sent the post_save signal.

  • instance (Mailbox) – The instance that has been saved.

  • created (bool) – Whether the instance was newly created.

  • **kwargs (Any) – Other keyword arguments

Return type:

None

Note

Using the batch update for the daemons does not trigger their post_save!