Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange 2003 VBS Disclaimer Does Not Work

Posted on 2010-11-12
2
Medium Priority
?
612 Views
Last Modified: 2012-05-10
First of all, the Exchange SDK does not include the smtpreg.vbs, but I was able to find it on the msdn site.  So followed the instructions on http://support.microsoft.com/kb/317680 otherwise and it succesfully ran.
So I sent a few test emails to my gmail account and nothing. Tried internally and nothing which is fine (only really need it on external communications). It only works if I send a message by telnetting to my mail server and running it that way...
Anyone?
D:\>cscript smtpreg.vbs /add 1 onarrival SMTPScriptingHost CDO.SS_
MTPOnArrivalSink "mail from=*@masked.suffix"
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Binding Display Name Specified: SMTPScriptingHost
Assigning priority (24575 in 32767)
** SUCCESS **
Registered Binding:
 Event Name  :SMTP Transport OnSubmission
 Display Name:SMTPScriptingHost
 Binding GUID:{02863FF8-5903-473E-BB5F-3EE81AF97933}
 ProgID      :CDO.SS_SMTPOnArrivalSink
   Rule      :mail from=*@masked.suffix   Priority  :24575 (0 - 32767, default: 24575)
   ComCatID  :{FF3CAA23-00B9-11d2-9DFB-00C04FA322BA}

D:\>cscript smtpreg.vbs /setprop 1 onarrival SMTPScriptingHost Sink ScriptName "D:\EventSinkScript.vbs"
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Binding Display Name Specified: SMTPScriptingHost
set property ScriptName to D:\EventSinkScript.vbs

Open in new window

0
Comment
Question by:pacman_d
[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
2 Comments
 
LVL 26

Accepted Solution

by:
Tony J earned 2000 total points
ID: 34121495
From the KB article:

Note If you use a MAPI client such as Microsoft Outlook to send the e-mail and if the Exchange mailbox resides on the same server as the event sink binding, the recipient may not receive the modified message. This is because messages that are submitted by using MAPI are not in SMTP format when the e-mail triggers the SMTP transport event. Therefore, changes that are made by the event's code are not persisted.

Which most likely explains why it doesn't work internally - as a quick question, do you use the same recipient in both telnet and from Outlook? And is the recipient an external address?

Does it work from OWA?

Might be worthwhile restarting Exchange services.
0
 

Author Comment

by:pacman_d
ID: 34121552
I restarted the SMTP Virtual Server, it did not send the disclaimer from OWA either. Only telnet and a mass email application that relays off it (i actually did NOT want the disclaimer on that!). That was weird because I registered the sink with a certain domain and this app sends from another domain we host and it attached the disclaimer.
So it looks like the most important sender (the MAPI client) it doesn't work for... I had to uninstall GFI (free disclaimer) because I was getting reports after I upgraded it that random external recipients were getting blank email bodies/subjects.
I hope I don't have to wait until my next's year's budget to fix with Exchange 2010's transport rules. uggh.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
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…
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…
Suggested Courses

618 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