GFI MailSecurity 10 blocking Exchange 2003 Emails

Lg_msec_headLast Wednesday, one of our clients had a server STOP crash issue after a new Brooktrout driver was installed.   Since then, all mails started to get to the SMTP advance queue and then disappearing.   Well, actually, they did not disappear…   they actually ended up in the GFI MailSecurity FailedMails folder.

Removing and reinstalling MailSecurity made no difference so I had to contact the support team at GFI.    The initial engineers, whilst helpful, could only point me to an unreleased update that had the same symptoms (the mails going to the failedmail folder) but this made no difference.  

The case was escalated to a very helpful guy, Andrew, who connected in to the server and found the following:

Open Insink.txt from the ContentSecurityMailSecurityDebuglogs folder and look for the following entry:

YYYY-MM-DD,HH:MM:SS,XXX,1,”#000006b0″,”#000019e0″,“error  “,”msecsink”,”Scanning…FAILED [0x80040155]”
YYYY-MM-DD, HH:MM:SS,XXX,1,”#000006b0″,”#000019e0″,“error  “,”msecsink”,”Failed to scan mail, hr=0x80040155″


The important thing to note here is the part at the end, from “error “ onwards.

0x80040155 = Interface Not Registered

If installed on the Exchange server, you will see the same in OutSink.txt as well.

To resolve this issue you need to re-register the required interfaced, by doing the following:

  1. Open a command prompt and navigate to the WINDOWSSYSTEM32 folder.  
  2. Type “regsvr32 OLE32.dll” without the quotes
  3. Now navigate to the ContentSecurityMailSecurity folder and type “regsvr32 gfiscanmps.dll” again, without the quotes.
  4. From the services console, restart the GFI MailSecurity Scan Engine Service, the IIS Admin services and the Information Store service.

All should now start to function correctly.

  4 Replies to “GFI MailSecurity 10 blocking Exchange 2003 Emails”

  1. April 2, 2007 at 6:28 am

    Hi Nick,

    I had this problem too. probably some with change virtual SMTP server and the GFI getting mixed up.

    Your post fixed the problem, but you probably mean OLE32.DLL instead of OLD32.DLL. Porbably a typo.

    But thanks,

    M. van Halen

  2. April 2, 2007 at 10:27 am

    You are correct! Sorry for the typo, will fix it 🙂

  3. Eric
    September 3, 2008 at 12:13 pm

    This solution worked for me. THanks NIck!

  4. June 2, 2009 at 4:14 pm

    Nick, I’ve been struggling with this all day and found your blog while getting impatient waiting for 2nd tier support from GFI to get back to me.

    Your solution is still working even with the latest GFI MailSecurity 10 Release 20090526 which I just downloaded and installed today. Lost 5 hours of Exchange 2003 operation on a customer’s SBS 2003 Premium R2 system but at least no more than that.

    Much Thanks!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.