Hi List, I had done this and thought of sharing with the list. It may be of some use. Chand ************************************************************************ ************************************************************************ ************** ************************************************************************ ************************************************************************ ************** > Enabling Per Mailbox Journaling for External E-mails > > Well, we all know how to enable message journaling per mailbox store > in Exchange 2003. Its good for compliance purposes, where you need to > maintain all e-mails generated on your mail server(s). This also helps > in case of a server crash, where you are not able to restore your > server back to the original state (Should not happen!). But, what if > we want to perform selective journaling? There are plenty of third > party tools available and they come on a cost. > > There is a free way to do the same, provided, you have at least two > servers or maintain a border server for mail delivery and receipt. > This is achieved by using SMTP Archive Sink, using a small VBSCRIPT. > > The script is available for download from OulookExchange > <http://www.outlookexchange.com/articles/glenscales/caudexp.asp> > written by Glanscales. > > How to use the script > > I assume that you have a two-server scenario, a sort of front-end, > back-end one, where one server hosts all the mailboxes. Mailbox server > forwards all the e-mails to border server. We will register an event > sink on the border server for Outgoing mails for selective mailboxes > (Could be all as well). > > We will register another event sink on the mailbox server for Incoming > e-mails for selective mailboxes. > > On the border server (For outgoing mails): > > 1. Make a directory, suppose c:\jrnlarchive > 2. Download > <http://www.outlookexchange.com/articles/glenscales/caudexp.zip> the > script and save it at c:\jrnlarchive. I assume, you saved the file as > smtpjrnl.vbs > 3. Edit the script and replace Monitormailbox@xxxxxxxxxxxxxx by > your monitoring mailbox. > 4. Download > <http://www.microsoft.com/downloads/details.aspx?FamilyId=5D3475BD-691 > 5-4110-959D-6E4CB233D79D&displaylang=en> SMTPREG.VBS provided by > Microsoft to register/un-register event sinks. Save this script in the > same directory as above script. > 5. Open a command prompt and change directory to c:\jrnlarchive > 6. Type cscript smtpreg.vbs /add 1 onarrival smtpjrnlOut > CDO.SS_SMTPOnArrivalSink "Mail From=user1@xxxxxxxxxxxxxx; Mail > From=user2@xxxxxxxxxxxxxx; Mail from=userN@xxxxxxxxxxxxxx" and press > enter. > > Type all on one line > > Note: Where userN stands for N number of mailboxes. If you want > to do journaling for all the mailboxes for outgoing e-mais, then the > command will be cscript smtpreg.vbs /add 1 onarrival smtpjrnl > CDO.SS_SMTPOnArrivalSink "Mail From=*@yourdomain.com" > > 7. Type cscript smtpreg.vbs /setprop 1 onarrival smtpjrnlOut Sink > ScriptName c:\jrnlarchive\smtpjrnl.vbs > > Test it by sending mails from the any of the specified mailboxes. > > On the Mailbox Server (For incoming mails): > > 1. Repeat steps 1-5. > 2. Type cscript smtpreg.vbs /add 1 onarrival smtpjrnlIn > CDO.SS_SMTPOnArrivalSink "Rcpt to=user1@xxxxxxxxxxxxxx; Rcpt > to=user2@xxxxxxxxxxxxxx". Press Enter > > To journal incoming e-mails for every mailbox, use: cscript > smtpreg.vbs /add 1 onarrival smtpjrnlIn CDO.SS_SMTPOnArrivalSink "Rcpt > to=*@yourdomain.com" > > > 3. Type: cscript smtpreg.vbs /setprop 1 onarrival smtpjrnlIn Sink > ScriptName c:\jrnlarchive\smtpjrnl.vbs > > Test it by sending mails to the any of the specified mailboxes. > > Drawback > > Bad part is when you need to modify the list of mailboxes to be > journaled. This can be done by remove the sink and re-register it with > modified list of mailboxes. I do it by maintaining a small batch file. >