Hello,
I need to write a message filter which will count the recipient count including (To, Cc) in total and as an action quarantine that email.
For example if email's To header contains 1 recipient and Cc header contains 5 recipients I want to quarantine this email:
count-message-rule:
if (addr-count("To", "Cc") > 5)
{
quarantine("Policy");
}
.
Will this message filter rule be applicable for this purpose? Are there any other options?
Any help is appreciated. Thanks in advance.