SpamAssassin MCP icon

SpamAssassin MCP

Analyze emails for spam using SpamAssassin MCP server

Test Rules

AI-generated

Summary

Test custom SpamAssassin spam detection rules by applying them to a provided email content sample.

Inputs

  • Rules Content (required) — Custom spam detection rules to test, provided as a string.
  • Test Email (required) — Raw email content to run the custom rules against.

Output shape

a single JSON object containing the test result of applying the custom rules to the test email.

The output includes a 'testResult' field with the analysis from the SpamAssassin MCP server and a 'timestamp' field indicating when the test was performed.

Examples

Example 1: User provides custom SpamAssassin rules and an email example to verify if the rules detect spam patterns correctly.

Set 'Rules Content' with the custom rule definitions and 'Test Email' with raw email text to analyze. The node returns the test results from the server.

Discussion