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" + }; +}