Page MenuHomePhorge

Abuse check
AbandonedPublic

Authored by machniak on Oct 10 2022, 11:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 19, 9:16 PM
Unknown Object (File)
Thu, Jul 11, 12:58 AM
Unknown Object (File)
Jun 22 2024, 4:34 PM
Unknown Object (File)
Jun 13 2024, 6:53 AM
Unknown Object (File)
Jun 12 2024, 10:52 AM
Unknown Object (File)
Jun 8 2024, 5:34 PM
Unknown Object (File)
May 27 2024, 12:33 AM
Unknown Object (File)
May 22 2024, 7:27 PM
Subscribers
Restricted Project

Details

Reviewers
None
Group Reviewers
Restricted Project

Diff Detail

Repository
rK kolab
Branch
dev/abuse-check
Lint
Lint Skipped
Unit
No Test Coverage
Build Status
Buildable 40265
Build 16292: arc lint + arc unit

Event Timeline

machniak created this revision.

The abuse check now lives externally. As a generic mechanism vanmeeuwen suggested that we may be able to install an app/Handler/Abuse.php just like we do for app/Handler/Mailbox.php, and that this might provide a suitable generic hook to run an abuse-check background job.

I have not validated that idea.

I suppose Handler::created could be used to spawn a job, not sure if it is a good solution or not.

CreateJob is already async, so I don't really see a reason to invoke another job. At least the point is to not create the mailbox/ldap record if the abuse check didn't finish yet.