Support URL: https://inbuxa.org in the IMAP ID response and README
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -72,6 +72,8 @@ impl<T: SessionStream> Session<T> {
|
||||
types::brand!(),
|
||||
"\" \"version\" \"1.0.0\" \"vendor\" \"",
|
||||
types::brand!(),
|
||||
"\" \"support-url\" \"",
|
||||
types::brand_url!(),
|
||||
"\")\r\n"
|
||||
)
|
||||
.as_bytes()
|
||||
|
||||
@@ -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"
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user