Solved

Filtering Email Attachments

Posted on 2000-04-27
6
295 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWare 6 crashing 14 98
nagios remote hosts 9 46
Help on running oracle SQL script in linux 3 36
how to rebuild XFS volume from LV 19 40
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

867 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

20 Experts available now in Live!

Get 1:1 Help Now