mox icon indicating copy to clipboard operation
mox copied to clipboard

Why can't I access the interface?

Open Almigan opened this issue 6 months ago • 3 comments

I completed the installation. I entered the A record into the domain on a server

and redirected it to the IP address. I created a quick configuration with Quick.

ip/admin ip/webmail does not open on the IP address and the interface does not appear.

And the worst part is the lack of documentation.

Quick installation videos and tutorials can be created for Ubuntu and other servers.

Almigan avatar Jun 21 '25 18:06 Almigan

The interface is not configred to ber accessible from the internet at the beginning. Instead, do a "ssh -L 8080:localhost:80 user@mailserver" and then access http://localhost:8080/admin/

read the quickstart.log file that gets created

After starting mox, the web interfaces are served at:

http://localhost/ - account (email address as username) http://localhost/webmail/ - webmail (email address as username) http://localhost/admin/ - admin (empty username)

To access these from your browser, run "ssh -L 8080:localhost:80 you@yourmachine" locally and open http://localhost:8080/[...].

TabTwo avatar Jun 25 '25 14:06 TabTwo

Same here with /admin endpoint. I got reverse proxy (so it's local no ssh forwarding needed), just can't access it. 404 everytime, tried different ports too. No error with ingress in my k8s manifest, everything that goes after host/ should be matched yet Mox itself gives me 404, not my proxy

luckyycode avatar Jul 22 '25 16:07 luckyycode

@luckyycode When using reverse proxy then it is crucial for mox to pass X-Forwarded-For and Host headers. I've run in same 404 after initial installation. But after carefully reading docs I figured it out. It is mentioned there. Not complete config for my specific reverse proxy, but it is there.

Also disabling proxy_buffering is good idea. For webmail it is necessary.

See #395 for nginx example.

Kisuke-CZE avatar Nov 12 '25 19:11 Kisuke-CZE