stalwart_classify_spam
Run the spam filter on an email message and receive its spam score.
Instructions
Run the spam filter on a message and get the score.
Args: message: full RFC 5322 message env_from: envelope MAIL FROM (required) remote_ip: connecting IP (default 127.0.0.1; 0.0.0.0 is rejected) ehlo_domain: optional EHLO domain env_rcpt_to: optional envelope recipient list
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| env_from | Yes | ||
| remote_ip | No | 127.0.0.1 | |
| ehlo_domain | No | ||
| env_rcpt_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||