Solved

Filtering Email Attachments

Posted on 2000-04-27
6
289 Views
Last Modified: 2013-12-16
My firm uses a Qmail MTA on a linux box serving a primarily NT network. Is there a way to configure Qmail to filter out
ALL email containing attachments?
0
Comment
Question by:staleym
6 Comments
 
LVL 4

Expert Comment

by:kiffney
ID: 2759467
look at
http://www.superscript.com/qtools/intro.html

qtools allows a lot of different sort of filtering of incoming and outgoing mail.  If it's the size of the mail that's bothering you, you can put a file in /var/qmail/control called 'databytes' that will restrict the size of messages - 'man qcontrol' for details, as I haven't used it.
0
 

Author Comment

by:staleym
ID: 2760020
Thanks for the comment.

My firm's concern is primarily anti-viral in nature, not for the linux server but for the NT machines on the network and less sophisticated users who won't think of screening email for viruses prior to opening attachments.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
ID: 2762343
I never tried to do it with qmail, but there are packages that can be hooked into sendmail (both commercial & free) that can do virus scanning on the fly. AMaViS is a free package that can be hooked into sendmail and uses one of several commercial anti-virus scanners. You can read more about it at http://satan.oih.rwth-aachen.de/AMaViS/amavis.html.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Expert Comment

by:castleinfo
ID: 2787594
Virus scanning engines are a waste of time.. (after all who writes the viruses) I think procmail is what you are looking for (although I'm not sure.)
I use NeMx powertools for exchange to block all exe's and vbs scripts.
0
 

Author Comment

by:staleym
ID: 2823912
Thanks to all who have written comments.

The way I ended up solving the problem
was to install Kaspersky Labs AVP program and used AMaVis 0.2.0-pre6-
clm-rl-8 to background scan emails as they arrive.

I also found a panther hack and a perl hack specific to .vbs worms and Qmail that can be tailored to need when under attack and while waiting for updates.

This is what my firm decided was best for it's needs after discussing comments posted here.
0
 

Author Comment

by:staleym
ID: 2823934
I appreciate the comment.

I had, previous to posting this question, explored AMaVis with less than useful results with Norton and other AV programs. Checking back with the AMaVis website I discovered an updated patch to use it with Qmail as opposed to Sendmail.

While not being exactly an answer to my question, jlevie's comment was the hint that lead me to a solution.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now