Solved

Filtering Email Attachments

Posted on 2000-04-27
6
314 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't connect to FTP 18 154
CentOs root password/fsck issue 7 61
simple bash script needed to unpack tar.gz 4 61
comm diff cmp unix commands 2 18
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses

739 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