transport >> Transport event sink does not fire consistently when server is under load!`

by MSNewsgroups » Sat, 30 Aug 2003 10:17:59 GMT

Exchange 2000 SP3, Windows 2000 SP4 + all post SP4 patches. New server just
built from scratch for testing, no antivirus on it.

I have an SMTPOnArrival event sink (DLL) that works fine when the SMTP
traffic is low but when lots of mail comes in it doesn't fire consistently.
I can make it fail by throwing 25 or more messages at it at the same time (I
drop the test messages in the Pickup directory of another Windows 2000
server and they go out quickly).

I've tried reducing the number of inbound connections that the SMTP service
accepts down to 1 but that doesn't help. I think that's because this is a
transport event sink and it fires after the message has been received. The
sink does do a number of things including writing a copy of the message to a
file, but up until the point it goes intermittent there's no discernable
difference in how fast messages come through it.

I thought that SMTPOnArrival transport event sinks ran serially but
obviously I'm wrong.... Any ideas anyone?


transport >> Transport event sink does not fire consistently when server is under load!`

by Chandresh Jain [MSFT] » Wed, 03 Sep 2003 05:47:52 GMT


Do you have any rule(s) associated with your sink? Make sure that all the
messages you are testing with follow that rule (if you have one).

You can also try removing the rule (again, if you have any) and verify if
you see the same behavior

--
************Disclaimer************
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.









just
consistently.
(I
service
a

Similar Threads

1. SMTPOnArrival event sink does not always fire under load

2. Smtp Transport OnCategorize event sink doesn't fire.

I created a OnCategoriz event sink in C#, which implemented the interface
'IMailTransportCategorize', and also I bound  the event with the sink

cscript smtpreg /add 1 OnCategorize Categorizer CategorizerSink ""

I can see the registered event sink by 'smtpreg /enum':

 ---------
| Binding |
---------
Event: SMTP Transport OnCategorize
ID: {72046880-EFFE-4769-929B-84FAE0E24EB2}

Name: Categorizer
SinkClass: CategorizerSink
Enabled: True
SourceProperties:{
    Priority = 24575
}

But it doesn't fire. Can anyone tell me what the problem is? It's
implemented in C# with interop. Any comment will be greatly appreciated.

Thanks a lot in advance
Stanley




3. Smtp Transport OnCategorize event sink doesn't fire

4. Exchange Server Global Event Sink with Criteria field set not fire

Hi 
 

I have a problem and I hope to get your attention and advice
 

I am developing an Exchange server event sink using VC# 2005, and .net 2.0, 
successfully registered the event sink in the SystemMailBox to enable store 
wide event handling.

 

When I register the event sink with a criteria field, the event sink doesn 
work completely, the same registration works ok if the criteria filed is 
omitted.

 

I am using the RegEvent.vbs to register the event sink.

/// ---------------------------------------------------------------------

SET 
SysMailBox=file://./backofficestorage/ADMIN/exchangeser.temp/MBX/SystemMailbox{9123D832-FFF9-4A82-A33F-5CE5D57D74E9}/StoreEvents/GlobalEvents/

SET CLASS=TeamCalendarSink.SyncEvents

 

cscript RegEvent.vbs Add "OnSyncSave;OnSyncDelete" %CLASS%    
%SysMailBox%/dotNet.sink -m ANY

 ---------------------------------------------------------------------///
 
This works ok, but a lot of events are fired and I am only interested in 
events that fire from appointments being created, updated or deleted in 
userscalendars

 

The following registration is the same but with criteria filed, the 
registration goes ok, and I can verify it was registered by using the enum 
parameter and also using Exchange Explorer, but the event sink is not fired 

///----------------------------------------------------------------------------
SET 
SysMailBox=file://./backofficestorage/ADMIN/exchangeser.temp/MBX/SystemMailbox{9123D832-FFF9-4A82-A33F-5CE5D57D74E9}/StoreEvents/GlobalEvents/

SET CLASS=ExecutionTeamCalendarSink.SyncEvents

 

cscript RegEvent.vbs Add "OnSyncSave;OnSyncDelete" %CLASS%    
%SysMailBox%/dotNet.sink -m ANY -f "WHERE "DAV:ishidden" = FALSE and 
"DAV:contentclass" = 'urn:content-classes:appointment'"

 ------------------------------------------///
 

 

Any Advice !

 

Thanks in advance

5. SMTP OnArrival Event Sink does not fire - Manage MS Exchange Server

6. Event sink firing but not deleting

Hi all

I have an event sink which works like a charm when Symantec's Mail Filtering 
isn't scanning for virii on SMTP using the Exchange AVAPI. The sink takes an 
email, scans for URI's then runs the found URI's against a blocklist. If it 
finds the URI on a block list the email is deleted.

However, as soon as I turn on the AV scanning the event sink fires and 
appears to work but the email doesn't get deleted. Anyone come across this 
before ?

Thanks

Pete Burgess 


7. Event sink not firing 7-10% of time - Microsoft Exchange Server

8. Event Sinks not firing?