Page MenuHomePhorge

Abuse check
AbandonedPublic

Authored by machniak on Oct 10 2022, 11:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 6, 7:38 PM
Unknown Object (File)
Fri, Mar 29, 10:07 AM
Unknown Object (File)
Mar 2 2024, 2:38 PM
Unknown Object (File)
Mar 2 2024, 9:34 AM
Unknown Object (File)
Feb 14 2024, 2:59 PM
Unknown Object (File)
Jan 29 2024, 2:07 PM
Unknown Object (File)
Jan 26 2024, 4:29 PM
Unknown Object (File)
Jan 26 2024, 5:26 AM
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.