LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-31-2009, 11:33 PM   #1
sank1800
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Rep: Reputation: 0
Best way to filter email attachments for multiple domains


Hi,

I want to setup a email gateway to block different types of attachments (ex: exe, dll, bat, mov, mpeg etc..) for emails coming to different domains and then forward them with a message (append to the original message) to the down stream MTA using a single linux installation (no need to scan for viruses / SPAMs, however ability drop connections at RBL level is highly preferable because it'll reduce some load of the server).

Can someone please suggest and provide configuration info to a such solution?

Thanks in advance

Last edited by sank1800; 04-01-2009 at 12:22 AM. Reason: to make the question more clear
 
Old 03-31-2009, 11:43 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by sank1800 View Post
Hi,

I want to setup a system to block different types of attachments (ex: exe, dll, bat, mov, mpeg etc..) for different domains using a single linux installation (no need to scan for viruses / SPAMs, however ability drop connections at RBL level is highly preferable because it'll reduce some load of the server).

Can someone please suggest and provide configuration info to a such solution?

Thanks in advance
Maybe use Squid? You can make an ACL for the domains, and one for extensions. Then deny access when both are matched. There's tons of examples of this right here on LQ and all over the Web.
 
Old 04-01-2009, 12:13 AM   #3
sank1800
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks "win32sux" for the quick reply. Sorry I made a mistake in first post and didn't make myself clear enough. I am correcting the original post as well. The requirement is to setup a mail gateway to strip email attachments for multiple domains (different attachments for different domains) and then simply forward them to the down stream MTA.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple domains in LDAP and 1 samba server for all domains, what to do? xnomad Linux - Server 1 11-14-2008 09:12 AM
multiple email attachments ehedman Linux - Software 1 06-20-2007 06:13 PM
Multiple Domains / Multiple Boxes he1ium Linux - Networking 4 01-14-2007 02:30 AM
Sub Domains & Multiple Domains (Apache) lugos Linux - Server 1 09-01-2006 10:22 PM
Bind configuration for multiple sub-domains on multiple sites JF1980 Linux - Networking 3 08-31-2006 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration