MCP rules

James Gray james at gray.net.au
Sun Apr 15 03:15:01 IST 2007


On 13/04/2007, at 8:38 PM, Daniel Fuhrer wrote:

> How can I create the following  mcp rule.
>
> ·         Subject starts with: RE: SPAM:
>
> ·         The IP Address from the sending server is xxx.xxx.xxx.xxx
>
> ·         The sender email dress starts with support@
>
> Thanks for your help in advance

How about something like this:

header __MCP_SPAM_SUBJ      Subject=~/^re\:\s+spam\:/i
header __MCP_SRCIP_1        Received=~/xxx\.xxx\.xxx\.xxx/
header __MCP_FROM_SUPPORT   From=~/^support\@/i
meta     MCP_MY_RULE        __MCP_SPAM_SUBJ && __MCP_SRCIP_1 &&  
__MCP_FROM_SUPPORT
describe MCP_MY_RULE        Something descriptive about this rule
score    MCP_MY_RULE        1.234

This rule is totally untested and I make no guarantees if it will  
work as you want...but it's a start :)

Have fun.

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070415/299073d0/smime.bin


More information about the MailScanner mailing list