Difference between revisions of "Troubleshooting Catglobe Sink Setup"

From Catglobe Wiki
Jump to: navigation, search
(V. Step by Step install and remove Catglobe SMTP Sink)
(V. Step by Step install and remove Catglobe SMTP Sink)
Line 63: Line 63:
 
4.Prepare CatglobeSMTPEventSink configuration file.<br>
 
4.Prepare CatglobeSMTPEventSink configuration file.<br>
 
5.Restart SMTP server by execute RestartSMTP.bat<br><br>
 
5.Restart SMTP server by execute RestartSMTP.bat<br><br>
 +
6. Check Sink log to make sure Sink works well.
 
II. '''Remove SMTP Event Sink'''<br>
 
II. '''Remove SMTP Event Sink'''<br>
 
Execute UnRegisterSink.bat
 
Execute UnRegisterSink.bat
 
[[Category:Network_Setup]]
 
[[Category:Network_Setup]]
 +
 +
 +
== VI. Troubeshooting Catglobe SMTP Sink ==

Revision as of 09:56, 25 November 2009

I. CatGlobeSmtpEventSink.dll.config

<xml version="1.0" encoding="utf-8"&nbsp;?&gt; &lt;
<configuration>
   <appSettings&gt;
      <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" /&gt;
      <add key="password" value="Catglobe" /&gt;
      <add key="ConnectionString" value="connect timeout=60;server=servername;uid=username;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_Heisenberg.CatGlobeMailTransportSubmission "RCPT TO=*@*.catglobe.com" 
cscript smtpreg.vbs /setprop 1 OnArrival CatGlobeMailTransportSubmission_VersionName "Source" Priority 20000

III. UnRegisterSink.bat

cscript smtpreg.vbs /remove 1 OnArrival CatGlobeMailTransportSubmission_VersionName
REM "if you are going to uninstall the sink on a 32bit Windows 2003 Server, remove the REM tag from the below line"
REM C:\Windows\Microsoft.NET\FrameWork\v2.0.50727\regasm CatGlobeSmtpEventSink.dll /unregister
REM "if you are going to uninstall the sink on a 64bit Windows 2003 Server, remove the REM tag from the below line"
C:\Windows\Microsoft.NET\FrameWork64\v2.0.50727\regasm CatGlobeSmtpEventSink.dll /unregister

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

1. RestartSMTP.bat

call StopSMTP.bat
call StartSMTP.bat

2. StartSMTP.bat

net start iisadmin
net start w3svc
net start smtpsvc

3. StopSMTP.bat

net stop iisadmin /y

4. EnumSinks.bat

cscript smtpreg.vbs /enum
pause

V. Step by Step install and remove Catglobe SMTP Sink

I. Install SMTP Event Sink
1.Install CatGlobeSmtpEventSinkSetup.msi
2.Execute RegisterSink.bat to register Catglobe Smtp Event Sink.
3.Verify SMTP Event Sink was registered successfully by execute EnumSinks.bat
Catglobe Sink.png
4.Prepare CatglobeSMTPEventSink configuration file.
5.Restart SMTP server by execute RestartSMTP.bat

6. Check Sink log to make sure Sink works well. II. Remove SMTP Event Sink
Execute UnRegisterSink.bat


VI. Troubeshooting Catglobe SMTP Sink