mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 22:36:30 +03:00
docs: Nonstandard headers needing DKIM protection should be hidden
This commit is contained in:
@@ -835,11 +835,13 @@ impl MimeFactory {
|
|||||||
// placed here.
|
// placed here.
|
||||||
let mut unprotected_headers: Vec<(&'static str, HeaderType<'static>)> = Vec::new();
|
let mut unprotected_headers: Vec<(&'static str, HeaderType<'static>)> = Vec::new();
|
||||||
|
|
||||||
// Headers that MUST NOT go into IMF header section.
|
// Headers that MUST NOT (only) go into IMF header section:
|
||||||
//
|
// - Large headers which may hit the header section size limit on the server, such as
|
||||||
// These are large headers which may hit the header section size limit on the server, such as
|
// Chat-User-Avatar with a base64-encoded image inside.
|
||||||
// Chat-User-Avatar with a base64-encoded image inside. Also there are headers duplicated here
|
// - Headers duplicated here that servers mess up with in the IMF header section, like
|
||||||
// that servers mess up with in the IMF header section, like Message-ID.
|
// Message-ID.
|
||||||
|
// - Nonstandard headers that should be DKIM-protected because e.g. OpenDKIM only signs
|
||||||
|
// known headers.
|
||||||
//
|
//
|
||||||
// The header should be hidden from MTA
|
// The header should be hidden from MTA
|
||||||
// by moving it either into protected part
|
// by moving it either into protected part
|
||||||
|
|||||||
Reference in New Issue
Block a user