Karta.Complaints.ARF.Report (Karta v1.0.0)

What a feedback report (RFC 5965) says: the message/feedback-report part's fields, and the identifiers of the report and of the message it quotes.

feedback_type is one of the registered types (abuse, auth-failure, fraud, not-spam, other, virus); anything else โ€” and a report without one โ€” is "abuse", as RFC 5965 ยง3.2 requires. user_agent, version, original_mail_from, original_rcpt_to, reported_domain and source_ip are the part's fields as it wrote them (bounded and made safe for a column: Karta.Mail.Text); message_id is the report's own Message-ID and original_message_id the quoted message's, both for the record only.

Nothing here decides anything. The address a report is about is the one its return path names, never a field of the report: an Original-Rcpt-To, a Reported-Domain or the quoted message's Message-ID is written by whoever sent the report.

Summary

Types

t()

@type t() :: %Karta.Complaints.ARF.Report{
  feedback_type: term(),
  message_id: term(),
  original_mail_from: term(),
  original_message_id: term(),
  original_rcpt_to: term(),
  reported_domain: term(),
  source_ip: term(),
  user_agent: term(),
  version: term()
}