Solved

Adding Disclaimer for Echange 2003 - for multiple email domains

Posted on 2008-10-15
3
503 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this video we show how to create a mailbox database 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 Servers >> Data…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

717 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