Page MenuHomePhorge

Run rc imap over nginx for 2fa with proxy protocol support
ClosedPublic

Authored by mollekopf on Jul 28 2022, 5:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 5, 12:27 AM
Unknown Object (File)
Thu, Oct 3, 8:48 PM
Unknown Object (File)
Fri, Sep 27, 1:50 PM
Unknown Object (File)
Fri, Sep 27, 1:28 PM
Unknown Object (File)
Thu, Sep 26, 10:54 AM
Unknown Object (File)
Tue, Sep 17, 11:26 AM
Unknown Object (File)
Fri, Sep 13, 8:43 AM
Unknown Object (File)
Thu, Sep 12, 12:38 PM
Subscribers
None

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Jul 28 2022, 5:08 PM
src/app/Http/Controllers/API/V4/NGINXController.php
182

Alec pointed out that instead of extracting the Proxy-Protocol-Addr here we could set the Client-Ip in NGINX on the request.

src/app/Http/Controllers/API/V4/NGINXController.php
182

I have tried this, but don't know how to set the client ip on the http subrequest of the mail module if at all possible.
So we'll stick with this approach until somebody figures out how to do it differently.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 19 2022, 12:11 PM
This revision was automatically updated to reflect the committed changes.