סקירה כללית של Spam Filter
תקרא אותי
Submit MIME parts of an email to get a score of the spam filter based on SpamAssassin
Endpoint /scan:
Example of JSON to submit :
{
“mime”: “MIME-Version: 1.0-”
}
Example of result :
{
“spamassassin”: {
“results”: {
“actual_score”: 7.9,
“content_length”: 1104,
“required_score”: 5,
“rule_violations”: [
{
"description": "Informational: message has no Received headers",
"rule": "NO_RECEIVED",
"score": 0
},
{
"description": "Message appears to be missing most RFC-822",
"rule": "NO_HEADERS_MESSAGE",
"score": 0
}
],
"spam": true
}
}
}
More details about rules : https://spamassassin.apache.org/old/tests_3_3_x.html