Exchange 2003 SP2 IMF Keyword Manager

Exchange 2003 sp2 comes with an updated intelligent message filter. One of the new features of the updated IMF is the ability to add a custom weighting file that gives administrators more control over incoming mail.

I have used this file a few times on customers systems, usually to allow certain automated e-mails through the IMF which were being incorrectly identified as spam.

The problem is that Microsoft have not included a GUI to edit the MSExchange.UceContentFilter.xml file. ?Ǭ�So it must be generated by hand, and while this isn’t difficult, it is not very convenient and it is easy to make a mistake.

I was looking for an excuse to have a play with Visual Basic 2005 and so I have made a little utility to make creating and managing the MSExchange.UceContentFilter.xml a little easier.

Screenshot 1

Becomes….

Generated XML File

The utility can be downloaded from here.(Requires .net 2.0).

If you need more information on how to implement the custom weighting feature then see:

Microsoft Exchange Server 2003 Service Pack 2 Release Notes

Microsoft Exchange Server Intelligent Message Filter v2 Operations Guide

34 thoughts on “Exchange 2003 SP2 IMF Keyword Manager

  1. Thanks for this mate, I am going to use it at the school and eradicate junk period…yeah right. Nice little app!!!

  2. Excitedily downloaded your app, but tried it on a XPMachine (just to create the file) and it ended with an error, so tried it on my SBS2003 and still the same error (can supply the install log file if required)…

    The following error occurred attempting to install ‘C:\Program Files\Exchsrvr\bin\MSCFV2\Exchange 2003 IMF Keyword Manager.application’:
    “The system cannot find the file specified. ”

    See the setup log file located at ‘C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\VSD31.tmp\install.log’ for more information.

  3. Does the SMTP servive require restarted after adding keywords? Also what are the minus values for?

  4. Not sure if you need to restart the SMTP service. You certainly do not have to restart when the file is changed.

    The value being plus or minus helps to determine what spam score the message will eventually receive.

    The higher the value the more likely it is spam and the lower the less likely. You can assign minus values to content you consider to be safe.

  5. I tried installing the tool but I just get an XML page Output. I have Net 2.0 installed on a Windows 2003 Standard Server.

  6. I think I have this fixed now, was something to do with mime types in Apache. If anyone else has this issue please let me know and I will just post up a zip file with the install files in it.

  7. Regarding the question about restaring smtp-service MS states the following:

    Custom weighting is made available in the form of an XML configuration file that is read by Intelligent Message Filter upon initialization, and then reloaded any time the file changes. If the XML configuration file is not present when Intelligent Message Filter is started, you must restart the SMTP service. The custom weighting file, MSExchange.UceContentFilter.xml, should be located in the same directory as the MSExchange.UceContentFilter.dll and .dat files.

  8. Thanks for the very useful application, I previously hand edited the xml and made mistakes, the custom filtering just stops working without any error.
    Such a simple application removes all of the risk, why on earth did Microsoft not program a gui when they introduced the feature.

  9. Hi,

    I installed the utility, which installed without any errors. I ran a test by entering Type = Both, Change =MAX and entered a word in the Text box. I sent an email with the entered word and it still went through my Exchange server, is there something I have missed?

    Regards

  10. E-mails sent internally are not spam checked at all. So make sure you test from an external account.

    If you have IMF updates installed then you need to put the XML file in to the subdirectory of your latest IMF update.

    Lastly you might need to restart the SMTP service if it is the first time you have used the custom weighting file.

  11. Hi

    I have the same problem as Simon (#13), I have got the xml file in the right directory, (no updates added yet) and have restarted the SMTP service a few times. I am sending tests from an outside account, but they all get through. current settings on test words are either 9 or MAX.

    Any other suggestions ?

    Love the Interface BTW, once its working, it will be a godsend!

    Regards

    Paul

  12. Might be because you have IMF updates installed and therefore you need to put the XML file in the subfolder of the updates.

    Do you know if you have IMF updates installed?

  13. HI Paulie

    No, I only have the original MSCFV2 directory. No updates on this have been applied yet. I’ll get the latest update, move my .xml file to the new place and try again.

    Fast reply! impressed :)

    Paul

  14. No updates actually installed, even with the registry entry set to 1. I expact the fault is with IMF itself, so I need to get that working first … Everything seems right, and in the right place, so I guess I have missed something …

    Paul

  15. Folks, the XML code that’s output by this utility is the code needed by the IMF in your Exchange 2003 server. Custom editing XML is possible, but only for the most meticulous of us. What this can really do that’s cool is XML code can be created so that your SCF can be set in response to custom headers you put on the email using other anti-spam systems. The Piratefish anti-spam system, for instance, does a great job of blocking spam – but with custom mods to the IMF with this, you can control where spam is delivered – so instead of blocking low scoring spam (that might be mis-identified) you could in fact deliver it – and let the IMF place the message into your users junk folder automatically. I’ve linked to some other resources (including this page) here: http://www.piratefish.org/registered/piratefish_tuning-3.0.html#Exchange

    Cheers!

  16. IMF has worked like a dream for me. Each time I update the XML, I manually start and stop the SMTP service. Unfortunately, as of the last DLL update to IMF (6.5.8066.0), my SMTP service hangs when I attempt to stop the service. Problem first noticed when the service never restarted after the update was installed. Any ideas?

  17. Thank you SO much! This works BEAUTIFULLY! I’m running Exchange 2003 on SBS w/ IMF. I saved the test file (both / MAX / viagra) to the most recent update folder (C:\PF\ExchSrvr\bin\MSCFV2\6.5.8070.0), stopped & started SMTP, sent a test message & it was re-routed to the UCEArchive folder. PERFECT! Interesting to note that I sent the same email from 2 different domains – 1 of which I have added to the Connection Filtering Accept List – that email did get delivered despite having ‘viagra’ in the Subject so I guess the Connection Filtering Accept List takes precedent over the keyword list. That’s totally fine, just thought I would mention it! Thanks again!!

  18. Hello,

    i can’t install your software . Setup.exe return the following error (install.log):
    Launching Application.
    URLDownloadToCacheFile failed with HRESULT ‘-2147024891′
    Error: An error occurred trying to download ‘http://www.accendo.co.uk/blog/files/exchangeimf/Exchange 2003 IMF Keyword Manager.application’.

    Note : I’m behind a proxy that require authentication.

    Thanks

  19. In light of how many people have problems installing this software through the one-click web installer I have repackaged it into a standard setup executable.

    Remy – This should fix your problem.

  20. Sick of obtaining low numbers of useless traffic to your website? Well i wish to let you know about a new underground tactic that produces me personally $900 daily on 100% AUTOPILOT. I could truthfully be here all day and going into detail but why dont you simply check their website out? There is really a great video that explains everything. So if your seriously interested in making effortless cash this is the site for you. Auto Traffic Avalanche

  21. Thanks for making this utility. Works great but may i suggest you allow resizing to fill the entire screen? My file is pretty huge and scrolling up and down in the little window is cumbersome.

  22. Unquestionably believe that which you stated. Your favorite reason appeared to be on the web the easiest thing to be aware of. I say to you, I definitely get annoyed while people think about worries that they plainly don’t know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people can take a signal. Will probably be back to get more. Thanks

  23. Howdy fantastic blog! Does running a blog such as this require a lot of work? I have no expertise in programming but I had been hoping to start my own blog soon. Anyhow, if you have any suggestions or tips for new blog owners please share. I know this is off subject but I just had to ask. Thanks a lot!

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>