Difference between revisions of "Troubleshooting Catglobe Sink Setup"

From Catglobe Wiki
Jump to: navigation, search
Line 6: Line 6:
  
 
=== II. RegisterSink.bat <br>  ===
 
=== II. RegisterSink.bat <br>  ===
 +
 +
C:\Windows\Microsoft.NET\FrameWork64\v2.0.50727\regasm CatGlobeSmtpEventSink.dll /codebase<br>cscript smtpreg.vbs /add 1 OnArrival CatGlobeMailTransportSubmission_VersionName CatGlobeSmtpEventSink_VersionName.CatGlobeMailTransportSubmission "RCPT TO=*@*.catglobe.com"<br>cscript smtpreg.vbs /setprop 1 OnArrival CatGlobeMailTransportSubmission_Heisenberg "Source" Priority 20000<br>
  
 
=== III. UnRegisterSink.bat <br>  ===
 
=== III. UnRegisterSink.bat <br>  ===

Revision as of 05:21, 25 November 2009

Catglobe Smtp Event Sink

I. CatGlobeSmtpEventSink.dll.config

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="Debug" value="true" />
<add key="LogPath" value="C:\Temp\CGSink_58.log" />
<add key="Impersonate" value="true" />
<add key="domain" value="" />
<add key="userName" value="ASPNET_Impersonated" />
<add key="password" value="Catglobe" />
<add key="ConnectionString" value="connect timeout=60;server=SERVERNAME;uid=USER;pwd=PASSWORD;database=CatGlobeAdministration"/>
<add key="BlockedDomains" value="abcxyz.com"/>
</appSettings>
</configuration>

II. RegisterSink.bat

C:\Windows\Microsoft.NET\FrameWork64\v2.0.50727\regasm CatGlobeSmtpEventSink.dll /codebase
cscript smtpreg.vbs /add 1 OnArrival CatGlobeMailTransportSubmission_VersionName CatGlobeSmtpEventSink_VersionName.CatGlobeMailTransportSubmission "RCPT TO=*@*.catglobe.com"
cscript smtpreg.vbs /setprop 1 OnArrival CatGlobeMailTransportSubmission_Heisenberg "Source" Priority 20000

III. UnRegisterSink.bat

IV. Other config files: RestartSMTP.bat & StartSMTP.bat & StopSMTP.bat