I have an SMTP Event Sink to handle incoming SMTP messages to perform special processing. In IIS 6 / SMTP, this receiver works as expected. In IIS 7 / SMTP, it does not work, although it seems to be successfully registered, as shown below:
c:\Program Files\Kryptiq Corporation\GW\Bin>regsvr32 SpoolFilter.dll c:\Program Files\Kryptiq Corporation\GW\Bin>smtp_sink_register.bat c:\Program Files\Kryptiq Corporation\GW\Bin>cscript smtpreg.vbs /add 1 OnArrival KryptiqSpoolFilter SpoolFilter.FilterObject "mail from=*" Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Binding Display Name Specified: KryptiqSpoolFilter Assigning priority (24575 in 32767) ** SUCCESS ** Registered Binding: Event Name :SMTP Transport OnSubmission Display Name:KryptiqSpoolFilter Binding GUID:{C12ECB83-BF0A-46B4-823D-8C4D212F5238} ProgID :SpoolFilter.FilterObject Rule :mail from=* Priority :24575 (0 - 32767, default: 24575) ComCatID :{FF3CAA23-00B9-11d2-9DFB-00C04FA322BA}
How can I debug this receiver and find out why it doesnβt process the email that goes into the SMTP pickup directory, but instead the email goes through intact? Are there IIS 7 requirements for SFC Event Sinks other than IIS 6, such as new permissions?
iis iis-7 smtp iis-6
Jon ediger
source share