Blocking attachments

Is it possible to block e-mails with attachments from reaching specific accounts on a mail server, but still letting the same attachment to others e.g. abc.exe

We have several users who need e-mail for ordering, but are wary that they run an executable file from an unknown source.

We are running a Linux server with outlook and outlook express on the PC's. We are running F-Secure antivirus.
We cannot rely on the users checking the attachment for viruses.
kevincockerAsked:
Who is Participating?
 
andysalihCommented:
hi kev,

 WHERE ARE YOU?
Business software /Database and tools /News    


Bleak Outlook for attachments in Office XP
By James Middleton [10-04-2001]
Microsoft has come up with an extreme method of slapping down the predicted virus onslaught by outlawing email attachments. The security feature will be a default setting in Microsoft's forthcoming release of Outlook 2002, part of the Office XP package due for release on 31 May.
Although the feature is designed to prevent the spread of viruses and malicious code, a Microsoft spokeswoman admitted that it would be difficult to switch off and that all attachments, including clean ones, would be banned.

"A systems administrator or someone who really knows what they're doing would be able to deactivate the feature," she said. "Your average consumer sitting at home may have difficulties, but the aim is to provide more security."

Outlook 2002, the email application included with Office XP, will reject more than 30 types of files sent as email attachments including executables, which are the most popular way of spreading viruses.

Other files the client will refuse to download are batch files, Java and Visual Basic scripts, help files and screensavers. The program will not distinguish between harmless attachments and infected files - everything will be blocked although users can still send attachments.

Microsoft has attempted this technique before - Service Pack 1 for Office 2000 included an option to ban all attachments - but this time round the measure will be forced.
 

cheers
Andy
0
 
HalldorGCommented:
sendmail can be used for this check out amavis
It is not very complicated to get it working for stopping virus mails.

Libmilter is another method, it offers the optins on adding scanners into the delivery of mail.  Also possible to rename the attachments as .txt for example.

There is also hack for sendmail that renames attachments from .exe to ~exe that is a hack to the collect.c but then you have to recompile sendmail.

HG
0
 
castleinfoCommented:
I've just installed Suse mailserverII (which is simple but ace..) and have the same issue..
 I will try Procmail at some point but an easier route is to relay mail through message labs (#1.50 per user per month)

Malcolm.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.