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've had users sending copyrighted files (songs, videos) to each other over email. I blocked the file extensions .mp3 etc. What some users have done is to rename files to .doc etc.

I cant block .doc etc filetypes because they are needed for day-to-day work.

I'm using MDaemon 12 mailserver, Does anyone know how to make it block these attachments? I've been working on some content scanning for filetype code, but was wondering if there is a already made solution?

share|improve this question

If this is a business environment, this is the point where Management should be involved.

Not every problem has a technical solution and repeat offenders that are exposing the company to risk of legal liability or security vulnerability should have their employment terminated.

share|improve this answer

Thank you for your advice. Normally I would agree with you that this is a management problem. But that does not work for me in this case.

I have written a MDaemon plugin which does the file type checks on email attachments.

If anyone else has same problem look at my filter on SourceForge ( and download Simply compile and put MDSpamP.dll as a plugin SpamFilter. You can customize it using the Python file.

I am releasing this to the community as Open Source under BSD license.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.