Solved

Adding Disclaimer for Echange 2003 - for multiple email domains

Posted on 2008-10-15
3
494 Views
Last Modified: 2012-12-20
Hi,

I'm actually attempting to add a disclaimer for my Exchange 2003 using VBScripts. I had a look at the MS article: http://support.microsoft.com/default.aspx?scid=kb;en-us;317680 How to add a disclaimer to outgoing SMTP messages in Visual Basic script and this actually works great.

However, as I am hosting multiple email domains in my exchange environment (ie. @abc.com, @bcd.com, @def.com) I need to ensure that the other email domains are sending it out with the dsclaimer as well. As I understand from this article, it builds an event sink which activates the eventsinkscript.vbs when it finds a parameter of "mail from =*@domainname.com". So this actually only solves part of my problem.

How can I do it so that it will add the disclaimer on all the domains which I'm hosting.

Thanks in Advance.
0
Comment
Question by:pepelepew8
3 Comments
 
LVL 23

Expert Comment

by:Justin Durrant
ID: 22720398
Your best best is going to be a 3rd party product like GFI or http://www.exclaimer.com/
0
 
LVL 1

Accepted Solution

by:
pepelepew8 earned 0 total points
ID: 22727814
Actually, I figued it out. SMTPScriptingHost is actualy just a param, so if I needed to add additional listeners, I would just run the script like this:
C:\ cscript smtpreg.vbs /add 1 onarrival SMTPScriptingHost1 CDO.SS_SMTPOnArrivalSink "mail from=*@seconddomain.com"

This would create a second listener for the second email domain. And if you have more then just run the same line and change theSMTPScriptingHost to SMTPScriptingHost2, SMTPScriptingHost3 an so forth.

Once the listener is in, you can configure it to use the same EventSinkScript.vbs or a different one to use a different disclaimer clause. So to attach the action to the listener is:
C:\cscript smtpreg.vbs /setprop 1 onarrival SMTPScriptingHost1 Sink ScriptName "C:\EventSinkScript.vbs"

Works like a charm. I would love to use GFI but now its not free and my company is currently running on very tight financial budgets aka "CHEAP".
0
 
LVL 1

Expert Comment

by:myself7
ID: 38712174
that's awesome. it works fine on my server.
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now