Outgoing mail processing
The program processes only incoming messages. But it is to "trick" the program with an archival (journal) mailbox for the purpose of doing some processing of outgoing mail.
Processing outgoing mail is more difficult. It is necessary to include archiving of messages on Exchange server. Here is an article from Microsoft for Exchange 2000/2003:
http://support.microsoft.com/?id=261173
First, it is necessary to create and configure an archival mailbox (for example, archive@yourcompany.local). Copies of all incoming and outgoing messages will be located in this mailbox. Then it is possible to create rules in Mapilab Rules for Exchange which will be applied to the copies of the outgoing messages received in this mail box.
For example: you need to archive messages sent to a certain domain. You can create the following set of rules:
1) Apply this rule when a message goes to archive (archive@yourcompany.local)
recipient's address contains @customer-company1.com
move it to the Public Folders/Customers/Company1 public folder
and stop processing more rules
2) Apply this rule when a message goes to archive (archive@yourcompany.local)
recipient's address contains @customer-company2.com
move it to the Public Folders/Customers/Company2 public folder
and stop processing more rules
3) Apply this rule when a message goes to archive (archive@yourcompany.local)
permanently delete it (no NDR)
and stop processing more rules
These rules should be placed in that order. This set of rules will copy the messages sent to domains @customer-company1.com and @customer-company2.com in corresponding general folders. All other messages arriving in the archival mailbox will be deleted. |