Skip to main content

resolve_filed_sender

Function resolve_filed_sender 

Source
pub fn resolve_filed_sender(
    envelope: &Envelope,
    via_principal: Option<&str>,
) -> Option<Value>
Expand description

The sender of mail another machine filed here, resolved on this machine: the filer’s own sender_identity is never read. A resolution naming anyone but the principal Teams authenticated as the filer (via_principal) is not this sender’s, so a forged return address resolves to nobody.