mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 12:24:38 +03:00
webmail: for domain in From address, show if domain is dmarc(-like) validated
i'm not sure this is good enough. this is based on field MsgFromValidation, but it doesn't hold the full DMARC information. we also don't know mailing list-status for all historic messages. so the red underline can occur too often.
This commit is contained in:
@ -1289,13 +1289,13 @@ const compose = (opts: ComposeOptions) => {
|
||||
|
||||
const color = (v: api.SecurityResult) => {
|
||||
if (v === api.SecurityResult.SecurityResultYes) {
|
||||
return '#50c40f'
|
||||
return underlineGreen
|
||||
} else if (v === api.SecurityResult.SecurityResultNo) {
|
||||
return '#e15d1c'
|
||||
return underlineRed
|
||||
} else if (v === api.SecurityResult.SecurityResultUnknown) {
|
||||
return 'white'
|
||||
}
|
||||
return '#aaa'
|
||||
return underlineGrey
|
||||
}
|
||||
const setBar = (c0: string, c1: string, c2: string, c3: string, c4: string) => {
|
||||
const stops = [
|
||||
|
Reference in New Issue
Block a user