core.signals package¶
Module with signals for the Eonvelope database models.
- core.signals.post_delete_attachment(sender, instance, **kwargs)[source]¶
Receiver function deleting the file of the attachment from storage.
- Parameters:
sender (
Attachment) – The class type that sent the post_save signal.instance (
Attachment) – The instance that has been saved.**kwargs (
Any) – Other keyword arguments.
- Return type:
- core.signals.post_delete_email(sender, instance, **kwargs)[source]¶
Receiver function deleting the .eml file of the email from storage.
- core.signals.post_save_account_is_healthy(sender, instance, created, **kwargs)[source]¶
Receiver function flagging all mailboxes of an account as unhealthy once that account becomes unhealthy.
- core.signals.post_save_daemon_is_healthy(sender, instance, created, **kwargs)[source]¶
Receiver function flagging the mailbox of a daemon as healthy once that daemon becomes healthy again.
- core.signals.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:
- Return type:
Note
Using the batch update for the daemons does not trigger their post_save!