Issue
How do I keep a copy of every message sent or received by users at my site?
Solution
Use a domain based filter on the inbound or outbound message router as appropriate. For example, if your router is named mr1.bigco.com, and you want a copy of every message sent to bigcocopies@bigco.com, telnet to the CLI of mr1.bigco.com and enter the following filter:
Filter Add (domain=primary) "Wiretap Rule" Redirect "bigcocopies@bigco.com" anyof Continue
.
(Enter filter rules, finish with a dot `.' on a line by itself)
:envelopeto Matches-not ""
.
Filter Add (domain=primary) "Default" Keep "" Allof Stop
.
(Enter filter rules, finish with a dot `.' on a line by itself)
:envelopeto Matches-not ""
.
The filter named Wiretap Rule matchs every message, and any messages that match are forwarded to bigcocopies@bigco.com. Since we specified Continue rather than Stop, the system continues to apply remaining filtering rules.
The only other rule in this case is the Default rule that also matches every message. In this case the action is Keep, to ensure that the default action for each message is still performed (i.e. to ensure the message is still routed to its final destination).
|
NOTE: This is intended for a message router, so all rules are in the primary domain "(domain=primary)" - that is the literal string "primary" not the name of the primary domain). On a Message Server the same thing could be performed for a delegated domain with "(domain=sample.com)" (if you'd previously performed a Domain Add sample.com). |
As of Release 3.4 you can use the wire tap filter. For more information, see the Mirapoint Administration Protocol Reference or Mirapoint Message Server Administrator's Guide.
Comments
0 comments
Please sign in to leave a comment.