Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Windows Small Business Server > SMTP event sink & Outlook Web Access

Reply
Thread Tools Display Modes

SMTP event sink & Outlook Web Access

 
 
Nick
Guest
Posts: n/a

 
      11-15-2009
Hi,

We have an SMTP event sink on our SBS2003 box which now works fine for
normal incoming & outgoing mail but does not get triggered for mail sent via
Outlook Web Access. Any ideas why this is and what we can do to solve it?

Thanks,
Nick


 
Reply With Quote
 
 
 
 
Ace Fekay [MCT]
Guest
Posts: n/a

 
      11-16-2009
"Nick" <> wrote in message
news:%...
> Hi,
>
> We have an SMTP event sink on our SBS2003 box which now works fine for
> normal incoming & outgoing mail but does not get triggered for mail sent
> via Outlook Web Access. Any ideas why this is and what we can do to solve
> it?
>
> Thanks,
> Nick
>



OWA connectivity works a bit different than MAPI. It uses DAVEx and EXIPC
ISAPI components that communicates to the information store. If you wrote
the event, I believe you will have to write something to monitor the
component, otherwise the issue *may* be in the SMTP sink where it is
triggering, at the actual outbound of the routing engine, or sooner. I'm not
a developer to specifically respond to how to do it, rather I'm just
juggling the IIS SMTP components in my head and surmizing this theory. You
may be better off posting this to a dev group related to the code you used
to write the sink.

For what it's worth, if it helps any at all, below is some info from the MOC
2400 Exchange 2003 courseware that may help understand OWA components and
relationship, assuming of course, you are running SBS 2003 with Exchange
2003. I hope it helps. Good luck!

MOC 2400, Mod 7, p5, Implementing OWA:
"OLE DB Provider for Exchange (ExOLEDB). Acts as the interface
between and the Exchange Information Store and the Exchange
Interprocess Communications (EXIPC). ExOLEDB accepts requests for
mailbox or public folder data from the EXIPC, later extracts the
information from the Information Store, and then sends the results back
to IIS through EXIPC."

p6:
"DAVEx. An Internet Service Application Programming Interface (ISAPI)
component that passes the client request between the World Wide Web
Publishing Service and the Information Store. DAVEx renders data
received from the store and then passes the data back to the World Wide
Web Publishing Service to return to the client browser. DAVEx is not
used by a front-end server in a front-end/back-end server configuration."

"ExProx. An ISAPI component that is used in a front-end/back-end server
configuration only. ExProx acts as a protocol gateway on a front-end
server. ExProx receives the request from World Wide Web Publishing
Service and then accesses Active Directory to locate the user’s mailbox
server. ExProx then passes the request to the correct back-end server.
The back-end server passes the data to ExProx, which then sends the
data to the World Wide Web Publishing Service to return to the client
browser."


--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum for collaboration benefit among
responding engineers, and to help others benefit from your resolution.

Ace Fekay, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE & MCSA
2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer

For urgent issues, please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.


 
Reply With Quote
 
Nick
Guest
Posts: n/a

 
      11-16-2009

"Ace Fekay [MCT]" <> wrote in message
news:O8%...
> "Nick" <> wrote in message
> news:%...
>> Hi,
>>
>> We have an SMTP event sink on our SBS2003 box which now works fine for
>> normal incoming & outgoing mail but does not get triggered for mail sent
>> via Outlook Web Access. Any ideas why this is and what we can do to
>> solve it?
>>
>> Thanks,
>> Nick
>>

>
>
> OWA connectivity works a bit different than MAPI. It uses DAVEx and EXIPC
> ISAPI components that communicates to the information store. If you wrote
> the event, I believe you will have to write something to monitor the
> component, otherwise the issue *may* be in the SMTP sink where it is
> triggering, at the actual outbound of the routing engine, or sooner. I'm
> not a developer to specifically respond to how to do it, rather I'm just
> juggling the IIS SMTP components in my head and surmizing this theory. You
> may be better off posting this to a dev group related to the code you used
> to write the sink.
>
> For what it's worth, if it helps any at all, below is some info from the
> MOC 2400 Exchange 2003 courseware that may help understand OWA components
> and relationship, assuming of course, you are running SBS 2003 with
> Exchange 2003. I hope it helps. Good luck!
>
> MOC 2400, Mod 7, p5, Implementing OWA:
> "OLE DB Provider for Exchange (ExOLEDB). Acts as the interface
> between and the Exchange Information Store and the Exchange
> Interprocess Communications (EXIPC). ExOLEDB accepts requests for
> mailbox or public folder data from the EXIPC, later extracts the
> information from the Information Store, and then sends the results back
> to IIS through EXIPC."
>
> p6:
> "DAVEx. An Internet Service Application Programming Interface (ISAPI)
> component that passes the client request between the World Wide Web
> Publishing Service and the Information Store. DAVEx renders data
> received from the store and then passes the data back to the World Wide
> Web Publishing Service to return to the client browser. DAVEx is not
> used by a front-end server in a front-end/back-end server configuration."
>
> "ExProx. An ISAPI component that is used in a front-end/back-end server
> configuration only. ExProx acts as a protocol gateway on a front-end
> server. ExProx receives the request from World Wide Web Publishing
> Service and then accesses Active Directory to locate the user's mailbox
> server. ExProx then passes the request to the correct back-end server.
> The back-end server passes the data to ExProx, which then sends the
> data to the World Wide Web Publishing Service to return to the client
> browser."
>
>
> --
> Ace
>
> This posting is provided "AS-IS" with no warranties or guarantees and
> confers no rights.
>
> Please reply back to the newsgroup or forum for collaboration benefit
> among responding engineers, and to help others benefit from your
> resolution.
>
> Ace Fekay, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE & MCSA
> 2003/2000, MCSA Messaging 2003
> Microsoft Certified Trainer
>
> For urgent issues, please contact Microsoft PSS directly. Please check
> http://support.microsoft.com for regional support phone numbers.


Thanks Ace,

There is definately nothing in the code of my event sink stopping this. It
is triggered on the ISMTPOnArrival_OnArrival event and registered by the
following command line:
cscript smtpreg.vbs /add 1 onarrival SMTPEventSink SMTP.EventSink "RCPT
TO=*"

I have tried posting this to the microsoft.public.exchange.development
newsgroup but no one seems to read that, virtually no activity there. Any
ideas how I can get in touch with someone from the Microsoft Exchange
development team.
Nick


 
Reply With Quote
 
Ace Fekay [MCT]
Guest
Posts: n/a

 
      11-16-2009
"Nick" <> wrote in message
news:...
>
> "Ace Fekay [MCT]" <> wrote in message
> news:O8%...
>> "Nick" <> wrote in message
>> news:%...
>>> Hi,
>>>
>>> We have an SMTP event sink on our SBS2003 box which now works fine for
>>> normal incoming & outgoing mail but does not get triggered for mail sent
>>> via Outlook Web Access. Any ideas why this is and what we can do to
>>> solve it?
>>>
>>> Thanks,
>>> Nick
>>>

>>
>>
>> OWA connectivity works a bit different than MAPI. It uses DAVEx and EXIPC
>> ISAPI components that communicates to the information store. If you wrote
>> the event, I believe you will have to write something to monitor the
>> component, otherwise the issue *may* be in the SMTP sink where it is
>> triggering, at the actual outbound of the routing engine, or sooner. I'm
>> not a developer to specifically respond to how to do it, rather I'm just
>> juggling the IIS SMTP components in my head and surmizing this theory.
>> You may be better off posting this to a dev group related to the code you
>> used to write the sink.
>>
>> For what it's worth, if it helps any at all, below is some info from the
>> MOC 2400 Exchange 2003 courseware that may help understand OWA components
>> and relationship, assuming of course, you are running SBS 2003 with
>> Exchange 2003. I hope it helps. Good luck!
>>
>> MOC 2400, Mod 7, p5, Implementing OWA:
>> "OLE DB Provider for Exchange (ExOLEDB). Acts as the interface
>> between and the Exchange Information Store and the Exchange
>> Interprocess Communications (EXIPC). ExOLEDB accepts requests for
>> mailbox or public folder data from the EXIPC, later extracts the
>> information from the Information Store, and then sends the results back
>> to IIS through EXIPC."
>>
>> p6:
>> "DAVEx. An Internet Service Application Programming Interface (ISAPI)
>> component that passes the client request between the World Wide Web
>> Publishing Service and the Information Store. DAVEx renders data
>> received from the store and then passes the data back to the World Wide
>> Web Publishing Service to return to the client browser. DAVEx is not
>> used by a front-end server in a front-end/back-end server configuration."
>>
>> "ExProx. An ISAPI component that is used in a front-end/back-end server
>> configuration only. ExProx acts as a protocol gateway on a front-end
>> server. ExProx receives the request from World Wide Web Publishing
>> Service and then accesses Active Directory to locate the user's mailbox
>> server. ExProx then passes the request to the correct back-end server.
>> The back-end server passes the data to ExProx, which then sends the
>> data to the World Wide Web Publishing Service to return to the client
>> browser."
>>
>>
>> --
>> Ace
>>
>> This posting is provided "AS-IS" with no warranties or guarantees and
>> confers no rights.
>>
>> Please reply back to the newsgroup or forum for collaboration benefit
>> among responding engineers, and to help others benefit from your
>> resolution.
>>
>> Ace Fekay, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE & MCSA
>> 2003/2000, MCSA Messaging 2003
>> Microsoft Certified Trainer
>>
>> For urgent issues, please contact Microsoft PSS directly. Please check
>> http://support.microsoft.com for regional support phone numbers.

>
> Thanks Ace,
>
> There is definately nothing in the code of my event sink stopping this.
> It is triggered on the ISMTPOnArrival_OnArrival event and registered by
> the following command line:
> cscript smtpreg.vbs /add 1 onarrival SMTPEventSink SMTP.EventSink "RCPT
> TO=*"
>
> I have tried posting this to the microsoft.public.exchange.development
> newsgroup but no one seems to read that, virtually no activity there. Any
> ideas how I can get in touch with someone from the Microsoft Exchange
> development team.
> Nick
>
>


Nick,

As I mentioned, I am not a developer, so I can't help you in this area. I
was just surmizing possibilities of where it may or may not be going wrong.
I cross-posted this to a few groups. I hope I didn't cross-post it to the
wrong groups. Other than that, sorry, I do not have a line on who to
contact.

Possibly if Robbin Meng reads this can provide suggestions or something more
specific

Ace.



 
Reply With Quote
 
Robbin Meng [MSFT]
Guest
Posts: n/a

 
      11-18-2009

Hi Nick,

Thanks for posting here. Also thanks for Ace's input and advice.

As you know, this newsgroup is primarily for break-fix situations. The issues include custom coding/programming, scripting, design/implementation type of issues would best
be addressed in the Developer newsgroups. If you or your developer team needs further assistance when programming the script, you are welcome to use our Developer
newsgroups.

For your convenience, I have provided the link below:

http://social.msdn.microsoft.com/For...-US/categories

Or you may ask for developer support: http://support.microsoft.com/directo...ro.asp?sd=msdn

By posting there, you may get some pointers from others who may have had similar experience that they can share with you.

Moreover, Microsoft offers short-term and proactive assistance for specific planning, design, development or assistance with installing, deploying, and general "how to"
advice via telephone. For more information on Advisory Services, please see:

For more info in the US and Canada: http://support.microsoft.com/default...dvisoryService

Outside of the US/Canada: http://support.microsoft.com/default...rnational.aspx

I hope this helps. Thanks for using SBS newsgroups!



Best regards,
Robbin Meng(MSFT)
Microsoft Online Newsgroup Support

================================================== ================
Please post your SBS 2008 related questions to the SBS newsgroup on Connect website:
https://connect.microsoft.com/sbs08/...i/default.aspx

Please post your EBS related questions to the EBS newsgroup on Connect website:
https://connect.microsoft.com/ebs08/...i/default.aspx

If you want to use a newsreader other than a web forum to access these newsgroups,
please refer to the following blog to apply NNTP password and configure a newsreader:
http://msmvps.com/blogs/bradley/arch...ewsgroups.aspx
================================================== ================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ================
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ================



 
Reply With Quote
 
Nick
Guest
Posts: n/a

 
      11-21-2009
Hello Robbin,

Already tried in microsoft.public.exchange.development but no replies as not
much activity in there.

Have been to http://social.msdn.microsoft.com/For...-US/categories as you
suggested but there are numerous forums, which one do you suggest is most
appropriate for MS Exchange development issues?

Thanks,
Nick


""Robbin Meng [MSFT]"" <v-> wrote in message
news:...
>
> Hi Nick,
>
> Thanks for posting here. Also thanks for Ace's input and advice.
>
> As you know, this newsgroup is primarily for break-fix situations. The
> issues include custom coding/programming, scripting, design/implementation
> type of issues would best
> be addressed in the Developer newsgroups. If you or your developer team
> needs further assistance when programming the script, you are welcome to
> use our Developer
> newsgroups.
>
> For your convenience, I have provided the link below:
>
> http://social.msdn.microsoft.com/For...-US/categories
>
> Or you may ask for developer support:
> http://support.microsoft.com/directo...ro.asp?sd=msdn
>
> By posting there, you may get some pointers from others who may have had
> similar experience that they can share with you.
>
> Moreover, Microsoft offers short-term and proactive assistance for
> specific planning, design, development or assistance with installing,
> deploying, and general "how to"
> advice via telephone. For more information on Advisory Services, please
> see:
>
> For more info in the US and Canada:
> http://support.microsoft.com/default...dvisoryService
>
> Outside of the US/Canada:
> http://support.microsoft.com/default...rnational.aspx
>
> I hope this helps. Thanks for using SBS newsgroups!
>
>
>
> Best regards,
> Robbin Meng(MSFT)
> Microsoft Online Newsgroup Support
>
> ================================================== ================
> Please post your SBS 2008 related questions to the SBS newsgroup on
> Connect website:
> https://connect.microsoft.com/sbs08/...i/default.aspx
>
> Please post your EBS related questions to the EBS newsgroup on Connect
> website:
> https://connect.microsoft.com/ebs08/...i/default.aspx
>
> If you want to use a newsreader other than a web forum to access these
> newsgroups,
> please refer to the following blog to apply NNTP password and configure a
> newsreader:
> http://msmvps.com/blogs/bradley/arch...ewsgroups.aspx
> ================================================== ================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> ================================================== ================
>
>
>



 
Reply With Quote
 
Robbin Meng [MSFT]
Guest
Posts: n/a

 
      11-23-2009

Hi Nick,

Thanks for your response.

AFAIK, there is no such a specific development forum discussing about Exchange Event Sink only. Actually, you can locate to different forums according to different categories. Based on Developer
Tools & Languages, or based on Web Development or Server Development etc.

MSDN Troubleshooting and Support
http://msdn.microsoft.com/en-us/aa570318.aspx


If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft
Certified Partners, please visit the following Microsoft Web site:

http://www.microsoft.com/partner/referral


Meanwhile, here are some similar issue I found in different development forums:

ASP.NET Forums " Windows Hosting " Microsoft Solution for Hosted Exchange forum

http://forums.asp.net/159.aspx



"Windows Workflow Foundation" forum:

"Event Sink question"
http://social.msdn.microsoft.com/For...-a6975f70b81a/

Hope this helps.



Best regards,
Robbin Meng(MSFT)
Microsoft Online Newsgroup Support

================================================== ================
Please post your SBS 2008 related questions to the SBS newsgroup on Connect website:
https://connect.microsoft.com/sbs08/...i/default.aspx

Please post your EBS related questions to the EBS newsgroup on Connect website:
https://connect.microsoft.com/ebs08/...i/default.aspx

If you want to use a newsreader other than a web forum to access these newsgroups,
please refer to the following blog to apply NNTP password and configure a newsreader:
http://msmvps.com/blogs/bradley/arch...ewsgroups.aspx
================================================== ================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ================
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ================



 
Reply With Quote
 
Nick
Guest
Posts: n/a

 
      11-30-2009
Thanks Robbin,

Every other part of this Event Sink is now working and many seemingly
insurmountable hurdles have now been solved. However I still seem to be
stuck with this problem of it not firing from OWA outgoing mails. Any other
ideas how I can get this question to the SBS2003/Exchange development team
to try and find an answer?

Thanks,
Nick


""Robbin Meng [MSFT]"" <v-> wrote in message
news:Rzkj1E$...
>
> Hi Nick,
>
> Thanks for your response.
>
> AFAIK, there is no such a specific development forum discussing about
> Exchange Event Sink only. Actually, you can locate to different forums
> according to different categories. Based on Developer
> Tools & Languages, or based on Web Development or Server Development etc.
>
> MSDN Troubleshooting and Support
> http://msdn.microsoft.com/en-us/aa570318.aspx
>
>
> If you have limited programming experience, you may want to contact a
> Microsoft Certified Partner or the Microsoft fee-based consulting line at
> (800) 936-5200. For more information about Microsoft
> Certified Partners, please visit the following Microsoft Web site:
>
> http://www.microsoft.com/partner/referral
>
>
> Meanwhile, here are some similar issue I found in different development
> forums:
>
> ASP.NET Forums " Windows Hosting " Microsoft Solution for Hosted Exchange
> forum
>
> http://forums.asp.net/159.aspx
>
>
>
> "Windows Workflow Foundation" forum:
>
> "Event Sink question"
> http://social.msdn.microsoft.com/For...-a6975f70b81a/
>
> Hope this helps.
>
>
>
> Best regards,
> Robbin Meng(MSFT)
> Microsoft Online Newsgroup Support
>
> ================================================== ================
> Please post your SBS 2008 related questions to the SBS newsgroup on
> Connect website:
> https://connect.microsoft.com/sbs08/...i/default.aspx
>
> Please post your EBS related questions to the EBS newsgroup on Connect
> website:
> https://connect.microsoft.com/ebs08/...i/default.aspx
>
> If you want to use a newsreader other than a web forum to access these
> newsgroups,
> please refer to the following blog to apply NNTP password and configure a
> newsreader:
> http://msmvps.com/blogs/bradley/arch...ewsgroups.aspx
> ================================================== ================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> ================================================== ================
>
>
>



 
Reply With Quote
 
Robbin Meng [MSFT]
Guest
Posts: n/a

 
      12-01-2009

Hello Nick,

Thanks for your update and glad to know things are working better now.

Sorry, we have to follow our process and we are not able to submit your question directly to our development team from this newsgroup. You may use the information I shared
before to contact our MSDN forum for detailed information about support channels. Consulting services such as this is better suited by the Advisory Services offering. Microsoft
now offers short-term and proactive assistance for specific planning, design, development or assistance with installing, deploying, and general "how to" advice via telephone.
For more information:
http://support.microsoft.com/default...dvisoryservice

Thanks for your time and understanding.


Best regards,
Robbin Meng(MSFT)
Microsoft Online Newsgroup Support


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hours are offset when synchronizing Outlook 2003 and Windows Mobile 6 Nathan Sokalski ActiveSync 10 02-12-2009 02:27 AM
Re: Outlook Web Access Problem - PLEASE HELP! Robert Aldwinckle Windows Vista Performance 1 08-06-2007 11:28 PM
Stop Error 0x0000007b Louis LeBrun Windows Vista Installation 17 07-05-2006 10:00 AM
ActiveSync 4.0 + WM5.0 with Dell Axim X51v - Outlook Express cannot be used? Neville Lang ActiveSync 6 11-03-2005 06:20 PM
Re: Outlook - Another program is trying to send access your address's Raj Pillai ActiveSync 0 09-13-2004 08:05 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59