
Code: Select all
Sub OnDeliverMessage(oMessage)
If oMessage.HeaderValue("X-Spam-Report") <> "" Then
Dim ReportParts, a, i, iHeaderName, iFormattedNumber
ReportParts = Split(oMessage.HeaderValue("X-Spam-Report"), "*")
a = UBound(ReportParts)
oMessage.HeaderValue("X-SR-00") = "SpamAssassin Report"
oMessage.Save
For i = 1 to a - 1
If i < 10 Then
iFormattedNumber = "0" & i
Else
iFormattedNumber = i
End If
iHeaderName = "X-SR-" & iFormattedNumber
oMessage.HeaderValue(iHeaderName) = " *" & ReportParts(i)
oMessage.Save
Next
oMessage.HeaderValue("X-Spam-Report").Delete
oMessage.Save
End If
End Sub
Code: Select all
X-SR-00: SpamAssassin Report
X-SR-01: * 3.0 SUBJ_YOUR_FAMILY Subject contains "Your Family"
X-SR-02: * 2.5 URIBL_DBL_SPAM Contains a spam URL listed in the Spamhaus DBL
X-SR-03: * blocklist
X-SR-04: * [URIs: theonegiftus.com]
X-SR-05: * -0.0 SPF_PASS SPF: sender matches SPF record
X-SR-06: * 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
X-SR-07: * [209.85.218.65 listed in wl.mailspike.net]
X-SR-08: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
X-SR-09: * provider (nguyenthigai2003[at]gmail.com)
X-SR-10: * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
X-SR-11: * 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
X-SR-12: * in digit (nguyenthigai2003[at]gmail.com)
X-SR-13: * 0.0 HTML_MESSAGE BODY: HTML included in message
X-SR-14: * 0.0 T_KAM_HTML_FONT_INVALID BODY: Test for Invalidly Named or
X-SR-15: * Formatted Colors in HTML
X-SR-16: * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-SR-17: * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
X-SR-18: * author's domain
X-SR-19: * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
X-SR-20: * valid
X-SR-21: * -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
X-SR-22: * envelope-from domain
X-SR-23: * 2.4 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%
X-SR-24: * [cf: 100]
X-SR-25: * 1.7 RAZOR2_CHECK Listed in Razor2 (http://razor.sf.net/)
X-SR-26: * 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-SR-27: * 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay
X-SR-28: * lines
X-SR-29: * 0.0 FSL_BULK_SIG Bulk signature with no Unsubscribe