async fn compute_dkim_results(
    context: &Context,
    authres: Vec<(String, DkimResult)>,
    from_domain: &str,
    message_time: i64
) -> Result<DkimResults>
Expand description

Use the parsed authres and the authservid candidates to compute whether DKIM passed and whether a keychange should be allowed.

We track in the sending_domains table whether we get positive Authentication-Results for mails from a contact (meaning that their provider properly authenticates against our provider).

Once a contact is known to come with positive Authentication-Resutls (dkim: pass), we don’t accept Autocrypt key changes if they come with negative Authentication-Results.