?
Solved

Adding Disclaimer for Echange 2003 - for multiple email domains

Posted on 2008-10-15
3
Medium Priority
?
505 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
New style of hardware planning for Microsoft Exchange server.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
In this video we show how to create a Contact 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 Recipients >> Contact ta…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 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