Community Discussions and Support
The way Policy works

Thank you, Paul.  I had made these assumptions in my design of the policy definitions and associated scripts, but I am pleased to hear this confirmation.

Gordon

<P>Thank you, Paul.  I had made these assumptions in my design of the policy definitions and associated scripts, but I am pleased to hear this confirmation.</P> <P>Gordon</P>

I have set up a sequence of Policies.  These are:

1. Check, by source IOP address, if mail comes from any country except a defined set.

2. Check if the source IP address is blacklisted by a limited number of reliable DNSBLs.

3. Check if mail originates from a IP address source (within the allowed national list) which can be expected to send spam.

4. Clean-up any remaining messages that don't trigger any of the above policies.

The result of these Policies, when triggered, is to delete the message.

What I am not sure about is what Mercury does when, say, Policy 1 is triggered and the remaining Policies have still to be processed.  Is there still a message in the queue for them to work on, or will it have been deleted as per Policy 1?  If it is deleted, what happens to Policies 2,3, and 4. 

Thank you

GordonM

 

<P>I have set up a sequence of Policies.  These are:</P> <BLOCKQUOTE> <P>1. Check, by source IOP address, if mail comes from any country except a defined set.</P> <P>2. Check if the source IP address is blacklisted by a limited number of reliable DNSBLs.</P> <P>3. Check if mail originates from a IP address source (within the allowed national list) which can be expected to send spam.</P> <P>4. Clean-up any remaining messages that don't trigger any of the above policies.</P></BLOCKQUOTE> <P>The result of these Policies, when triggered, is to delete the message.</P> <P>What I am not sure about is what Mercury does when, say, Policy 1 is triggered and the remaining Policies have still to be processed.  Is there still a message in the queue for them to work on, or will it have been deleted as per Policy 1?  If it is deleted, what happens to Policies 2,3, and 4.  </P> <P>Thank you</P> <P>GordonM</P> <P mce_keep="true"> </P>

[quote user="GordonM"]What I am not sure about is what Mercury does when, say, Policy 1 is triggered and the remaining Policies have still to be processed.  Is there still a message in the queue for them to work on, or will it have been deleted as per Policy 1?[/quote]

If policy 1 is triggered then the message is removed from the queue.

[quote]If it is deleted, what happens to Policies 2,3, and 4.[/quote]

They won't be run for that message.

<P>[quote user="GordonM"]What I am not sure about is what Mercury does when, say, Policy 1 is triggered and the remaining Policies have still to be processed.  Is there still a message in the queue for them to work on, or will it have been deleted as per Policy 1?[/quote]</P> <P>If policy 1 is triggered then the message is removed from the queue.</P> <P>[quote]If it is deleted, what happens to Policies 2,3, and 4.[/quote]</P> <P>They won't be run for that message.</P>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft