From 5ce033e10cc02c77395ca1abd0ddce693d5c74f0 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Fri, 18 Sep 2026 11:03:30 -0700 Subject: [PATCH] Support URL: https://inbuxa.org in the IMAP ID response and README --- README.md | 1 + crates/imap/src/op/capability.rs | 2 ++ crates/types/src/branding.rs | 8 ++++++++ 3 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 8e83740..9099702 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ **INBUXA** is a mail and collaboration server: JMAP, IMAP, POP3, SMTP, CalDAV, CardDAV and WebDAV, in one Rust binary, with ihasmail as its web front end. It is a fork of [Stalwart](https://github.com/stalwartlabs/stalwart). +Project site: [inbuxa.org](https://inbuxa.org) (not up yet). Stalwart ships some features only in a paid Enterprise Edition: multi-tenancy, masked email, undelete and others. INBUXA ships everything to everybody under diff --git a/crates/imap/src/op/capability.rs b/crates/imap/src/op/capability.rs index f16d6b4..e1ac102 100644 --- a/crates/imap/src/op/capability.rs +++ b/crates/imap/src/op/capability.rs @@ -72,6 +72,8 @@ impl Session { types::brand!(), "\" \"version\" \"1.0.0\" \"vendor\" \"", types::brand!(), + "\" \"support-url\" \"", + types::brand_url!(), "\")\r\n" ) .as_bytes() diff --git a/crates/types/src/branding.rs b/crates/types/src/branding.rs index 049c98a..c6d1680 100644 --- a/crates/types/src/branding.rs +++ b/crates/types/src/branding.rs @@ -37,3 +37,11 @@ macro_rules! brand_prodid { concat!("-//", $crate::brand!(), "//", $crate::brand_server!(), "//EN") }; } + +/// The project's website, given to clients as the support URL (IMAP `ID`). +#[macro_export] +macro_rules! brand_url { + () => { + "https://inbuxa.org" + }; +}