Adding a header for both Spam and MCP
Posted: 06 Apr 2016 13:44
Looking to add the header "X-Spam-Status:Yes" for both Spamassasin and MCP.
Spamassasin is currently setting the header "X-Spam-Status:Yes" when it gets over the threshhold.
I followed the directions at viewtopic.php?t=444 to setup MCP, when I send in a test email with the "bad words" it does trigger MCP and that comes through, but it is not setting header "X-Spam-Status:Yes" when MCP.
My MCP settings are:
Can this be done? Do I just need to have it have it store and send a notification?
Thanks
Aaron Z
Spamassasin is currently setting the header "X-Spam-Status:Yes" when it gets over the threshhold.
I followed the directions at viewtopic.php?t=444 to setup MCP, when I send in a test email with the "bad words" it does trigger MCP and that comes through, but it is not setting header "X-Spam-Status:Yes" when MCP.
My MCP settings are:
Spamassasin is set to 'Spam Actions = deliver header "X-Spam-Status:Yes"'MCP Checks = yes
# Do the spam checks first, or the MCP checks first?
# This cannot be the filename of a ruleset, only a fixed value.
First Check = spam (I tried both spam and MCP as the first check)
# The rest of these options are clones of the equivalent spam options
MCP Required SpamAssassin Score = 1
MCP High SpamAssassin Score = 10
MCP Error Score = 1
MCP Header = X-%org-name%-MailScanner-EFA-MCPCheck:
Non MCP Actions = deliver
MCP Actions = deliver
High Scoring MCP Actions = deliver header "X-Spam-Status:Yes"
Can this be done? Do I just need to have it have it store and send a notification?
Thanks
Aaron Z