Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to configure an Exchange Server to work with an antispam appliance so that all emails detected as spam by the appliance are sent to the exchange users personal junk folder (if possible without adding any third-party modules to Exchange).

I have read that IMF reads the X-SCL header and sends emails with high SCL values to the junk folder, so I was thinking I could simply add an X-SCL header with the antispam appliance but this does not seem to work. I'm wondering if Exchange doesn't re-classify the message when it is received or something similar.

So I was wondering if it is possible to route emails to the junk folder using an event sink? I have seen ways to send them to the "Badmail" folder but this is not really what is wanted in this case.


share|improve this question
Any particular reason this is community wiki? – Sam Jul 7 '09 at 11:16
Fair question Sam. I'm also interested in learning why my answers are listed as being in the wiki, even though I only post in serverfault. – John Gardeniers Jul 7 '09 at 11:24

Use of the Junk mail folder has to be enabled per user. You need to go into outlook web access and enable the junk email prevention in the options section, mail classified as junk will then move to the junk mail folder. This needs to be done by each user.

enable spam filter

share|improve this answer

Have a look at

This describes the almost unknown CustomWeightEntry feature in the IMF. Irritatingly it doesn't have the option to check headers, but it can check the subject line so you could have your mail filter add something to the subject line.

It's worth checking that your IMF is actually doing anything. Use PerfMon and check the IMF counters to make sure it is processing mail. It needs enabling in two different places and it's easy to miss one.


share|improve this answer

I used spam assassin on my server and then just created a rule to check the header to see if the rule the message was flagged as spam.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.