Jump to content

XmonSmtpAgent: Failed to process ON END OF HEADERS event


Recommended Posts

Since installing ESMX v7, the following events are being logged into the Event Log on a regular basis. Any ideas why?

Log Name:      Application
Source:        ESET Reporting Service
Date:          29/08/2018 09:14:18
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      L1VS02XS.reades.local
Description:
XmonSmtpAgent: Failed to process ON END OF HEADERS event. System.NullReferenceException: Object reference not set to an instance of an object.
   at XmonAgent.XmonSmtpReceiveAgent.GetIpFromReceivedHdr(String& sOIp, IMailScannerServices& cMailScannerServices, EndOfHeadersEventArgs& args)
   at XmonAgent.XmonSmtpReceiveAgent.OnEndOfHeaderHandlerSpf(ReceiveMessageEventSource source, EndOfHeadersEventArgs args)
Event Xml:
<Event xmlns="hxxp://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ESET Reporting Service" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2018-08-29T08:14:18.000000000Z" />
    <EventRecordID>6537662</EventRecordID>
    <Channel>Application</Channel>
    <Computer>L1VS02XS.reades.local</Computer>
    <Security />
  </System>
  <EventData>
    <Data>XmonSmtpAgent: Failed to process ON END OF HEADERS event. System.NullReferenceException: Object reference not set to an instance of an object.
   at XmonAgent.XmonSmtpReceiveAgent.GetIpFromReceivedHdr(String& sOIp, IMailScannerServices& cMailScannerServices, EndOfHeadersEventArgs& args)
   at XmonAgent.XmonSmtpReceiveAgent.OnEndOfHeaderHandlerSpf(ReceiveMessageEventSource source, EndOfHeadersEventArgs args)</Data>
  </EventData>
</Event>

 

Link to post
Share on other sites
  • ESET Staff

Hi davidenco,

The error in logs is caused by an exception while parsing "Received:" headers. We will address the issue in next hotfix of EMSX.

Could you PM me a procdump file(s) capturing the exception? It would help us to track it down:

procdump -ma -e 1 -f "nullreferenceexception" edgetransport.exe

 

Edited by filips
Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...