How does the Content Filtering plug-in differentiate between sent, received, relayed and internal messages?
WorkgroupMail can distinguish between mail messages that are sent from a local address to an external address, from an external address to a local address, from a local address to a local address (internal) and from an external address to an external address (relayed).
There are two further cases where mail messages are sent to more than one recipient at least one of which is a local address and at least one is an external address. The two cases arise from the fact that the mail message can be either from a local address or from an external address.
The following table summarises these messages:
|Type||Direction||To External Recipients||To Local Recipients|
|Received and relayed||Incoming||Yes||Yes|
|Sent and internal||Outgoing||Yes||Yes|
To distinguish between these six types of message in the Content Filtering plug-in, simply map the Direction to ‘Check messages when they arrive‘ for incoming messages and ‘Check messages before sending‘ for outgoing messages.
Use the ‘Message sent to external recipient‘ and ‘Message sent to local recipient‘ conditions to determine if the message was sent to external and/or local recipients respectively.
For example, to perform an action on a message that was sent internally you would create a rule with the following description:
Check messages before sending
If message not sent to external recipient
and message sent to local recipient …