| 1 | package Sisimai::RFC5965; | ||
| 2 | 90 | ▶ | use v5.26; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 90 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 90 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 90 | ▶ | use constant FIELDINDEX => [ |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | # https://datatracker.ietf.org/doc/html/rfc5965 | ||
| 7 | # Required Fields | ||
| 8 | # The following report header fields MUST appear exactly once: | ||
| 9 | 'Feedback-Type', 'User-Agent', 'Version', | ||
| 10 | |||
| 11 | # Optional Fields Appearing Once | ||
| 12 | # The following header fields are optional and MUST NOT appear more than once: | ||
| 13 | # - "Reporting-MTA" is defined in Sisimai::RFC1894->FIELDINDEX() | ||
| 14 | 'Original-Envelope-Id', 'Original-Mail-From', 'Arrival-Date', 'Source-IP', 'Incidents', | ||
| 15 | |||
| 16 | # Optional Fields Appearing Multiple Times | ||
| 17 | # The following set of header fields are optional and may appear any number of times as | ||
| 18 | # appropriate: | ||
| 19 | 'Authentication-Results', 'Original-Rcpt-To', 'Reported-Domain', 'Reported-URI', | ||
| 20 | |||
| 21 | # The historic field "Received-Date" SHOULD also be accepted and interpreted identically to | ||
| 22 | # "Arrival-Date". However, if both are present, the report is malformed and SHOULD be | ||
| 23 | # treated as described in Section 4. | ||
| 24 | 'Received-Date', | ||
| 25 | 90 | ]; | |
| 26 | |||
| 27 | 90 | 1; | |
| 28 | __END__ | ||