Solved

Filtering Email Attachments

Posted on 2000-04-27
6
300 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

773 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