Show the server's branding logo instead of the built-in one #101

Closed
opened 2026-11-16 21:53:26 +00:00 by jcoffey-dev · 1 comment
Owner

From https://community.coffeylabs.org/t/304: the logo set under Settings › System › Branding (or a domain's or tenant's logo) changes the server's sign-in page and the console, but never the webmail. The webmail always shows its own image (views/AppShell.tsx, views/Login.tsx); APP_NAME only switches between two built-in inbuxa images, and anything else means building your own image, as in ihasmail.

Proposal: use the server's GET /logo (BT-5: the logo that applies to the requested name, 404 when none) for the sign-in page and the top bar, falling back to the built-in image, with the same loading approach as the console fix (an <img>, not a fetch, since a URL logo is a cross-origin redirect).

From https://community.coffeylabs.org/t/304: the logo set under Settings › System › Branding (or a domain's or tenant's logo) changes the server's sign-in page and the console, but never the webmail. The webmail always shows its own image (`views/AppShell.tsx`, `views/Login.tsx`); `APP_NAME` only switches between two built-in inbuxa images, and anything else means building your own image, as in ihasmail. Proposal: use the server's `GET /logo` (BT-5: the logo that applies to the requested name, 404 when none) for the sign-in page and the top bar, falling back to the built-in image, with the same loading approach as the console fix (an `<img>`, not a fetch, since a URL logo is a cross-origin redirect).
jcoffey-dev added this to the 27.7 milestone 2026-11-16 21:53:26 +00:00
jcoffey-dev added the
priority
p3
enhancement
labels 2026-11-16 21:53:26 +00:00
jcoffey-dev self-assigned this 2026-11-16 21:53:27 +00:00
Author
Owner

Thanks @faisal and alligatoraxe for raising this in https://community.coffeylabs.org/t/304.

Fixed in #112: the sign-in page and the top bar now show the logo set on the mail server (Settings › System › Branding, or a domain's or tenant's logo), and fall back to the built-in one when none is set. In the dark theme the webmail asks for the dark-mode logo from inbuxa/inbuxa-server#410, and the server falls back to the ordinary logo when no dark one is set.

One limit: a logo set as an https URL is shown through the webmail's image proxy, which needs a signed-in reader. So before sign-in a URL logo leaves the built-in image, and after sign-in it shows in the top bar. A logo uploaded as an image shows on both.

It'll be in the next webmail release candidate.

Thanks @faisal and alligatoraxe for raising this in https://community.coffeylabs.org/t/304. Fixed in #112: the sign-in page and the top bar now show the logo set on the mail server (Settings › System › Branding, or a domain's or tenant's logo), and fall back to the built-in one when none is set. In the dark theme the webmail asks for the dark-mode logo from inbuxa/inbuxa-server#410, and the server falls back to the ordinary logo when no dark one is set. One limit: a logo set as an https URL is shown through the webmail's image proxy, which needs a signed-in reader. So before sign-in a URL logo leaves the built-in image, and after sign-in it shows in the top bar. A logo uploaded as an image shows on both. It'll be in the next webmail release candidate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-webmail#101