Page MenuHomePhorge

SMTP content filter
ClosedPublic

Authored by machniak on Oct 2 2024, 12:13 PM.
Tags
None
Referenced Files
F16867646: D4974.id14253.diff
Tue, Nov 19, 5:46 PM
F16867632: D4974.id14238.diff
Tue, Nov 19, 5:46 PM
F16867612: D4974.id14256.diff
Tue, Nov 19, 5:45 PM
F16867588: D4974.id14241.diff
Tue, Nov 19, 5:45 PM
F16840812: D4974.id14337.diff
Tue, Nov 19, 2:12 AM
Unknown Object (File)
Mon, Nov 18, 8:04 PM
Unknown Object (File)
Mon, Nov 18, 1:57 PM
Unknown Object (File)
Sat, Nov 16, 11:20 AM
Subscribers
Restricted Project

Details

Reviewers
mollekopf
Group Reviewers
Restricted Project
Commits
rKf816b72a099a: SMTP content filter
Summary

The engine

Test Plan

./phpunit

Diff Detail

Repository
rK kolab
Branch
dev/smtp-content-filter
Lint
Lint Skipped
Unit
No Test Coverage
Build Status
Buildable 50655
Build 18444: arc lint + arc unit

Event Timeline

machniak created this revision.
  • Set back SWOOLE_PACKAGE_MAX_LENGTH to 10MB
  • Support multipart/form-data file uploads, they don't need so much memory
  • Don't require specific file name
  • Invitations policy
  • Split itip handling into per-method classes
mollekopf subscribed.

Besides the one complaint I think this can go in. I didn't investigate the rules in detail, but it's standalone enough that pushing it seems fairly risk free.

src/app/Policy/Mailfilter/RequestHandler.php
67

Still really don't like the string assembly to class approach. Just use the Class (App\Policy\Mailfilter\Modules\ItipModule::class) to fill the array.

This for instance immediately make it evident if there is a typo, or a class is deleted but still used here etc.

This revision is now accepted and ready to land.Thu, Oct 31, 10:38 AM
This revision was landed with ongoing or failed builds.Thu, Oct 31, 2:27 PM
Closed by commit rKf816b72a099a: SMTP content filter (authored by machniak). · Explain Why
This revision was automatically updated to reflect the committed changes.