Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a requirement as follows "I have a site in which the end user is asked to upload a file which is directly sent to the client. Those files are not stored on my server. Now the issue is I don't want my client to complain having virus in the files which go through my mailing server to his systems. So I want to scan all the email traffic in order to detect and remove the virus in the email docs posted by the users."

Is there any way I can do this?? Is there any kind of antivirus which can sit along with email server and scan the email traffic??

Open to any kind of suggestions..

share|improve this question
What kind of email server are we talking about? – Coding Gorilla Oct 7 '11 at 16:01
Pretty much any major "Enterprise" or "Business" grade anti-virus solution has some sort of mail server (usually Exchange) integration. Need details on platform (OS/mail server). – gravyface Oct 7 '11 at 16:02
What platform (unix, windows, AS/400, VAX/VMS, CP/M, ...)? – voretaq7 Oct 7 '11 at 16:02
And why not scan the mails after upload before mailing them? Creating a MIME mail (encode) and then scanning (decode) is a bit stupid, isn't it? – mailq Oct 7 '11 at 16:07
I'm using EXIM.. its my mail server. – Bharath ABK Oct 7 '11 at 16:11
up vote 2 down vote accepted

If you're using Exim, I would recommand looking into Mailscanner ( with SpamAssassin. I used this for years and it's incredibly effective and flexible.

share|improve this answer

Yes there is something for it. For example amavisd-new is a good start for it and can integrate multiple (all?) virus scanners for Linux.

The documentation tells you how to integrate into Exim. And the installed version gives you information in the README how to integrate the virus scanner(s).

share|improve this answer

There's ClamAV and it integrates well with Exim.

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.