Koozali.org: home of the SME Server

Is it possible to filter inbound/outbound email attachments?

Alejandro Lengua

Is it possible to filter inbound/outbound email attachments?
« on: October 02, 2003, 10:24:55 AM »
Hi!

I need to do the following:

** Limiting the kind of attachments the users can send and receive.
I mean (.exe, .doc, .xls). I guess a procmail control panel could help.

** Limiting the size of the messages and attachments a user (or all the
users) can receive.


Is there an easy way to do this? A contrib or a non-free contrib?

Thanks in advance
Alejandro Lengua

alejandro

Re: Is it possible to filter inbound/outbound email attachme
« Reply #1 on: October 02, 2003, 05:57:11 PM »
<<<** Limiting the kind of attachments the users can send and receive.
I mean (.exe, .doc, .xls). I guess a procmail control panel could help.>>>

Alejandro:
You could get mail attachment control by installing assp spam filter.(http://assp.sourceforge.net)
you can block any kind of predefined attachement (configurable since version 1.0.1) and you will be very happy with the spam solution it provides.(block before entering your server)
I've being using it for about 4 moths with exellent results, and it's getting better with every new release.

HTH
ale

Alejandro Lengua

Re: Is it possible to filter inbound/outbound email attachme
« Reply #2 on: October 02, 2003, 09:25:57 PM »
Does it block both inbound and outbound attachments?
It seems to me that only inbound email is filtered...

alejandro

Re: Is it possible to filter inbound/outbound email attachme
« Reply #3 on: October 03, 2003, 05:58:44 PM »
answering your question
this is from the options and config page
 "Block Whitelisted Exe Attachments too
Check the above box AND this box to block attachments even from whitelisted & local senders."
hth
A.

chare

Re: Is it possible to filter inbound/outbound email attachme
« Reply #4 on: October 04, 2003, 12:07:14 AM »
How did you install assp on you sme box?
seems like it could be good  for me.

Thx

alejandro

Re: Is it possible to filter inbound/outbound email attachme
« Reply #5 on: October 04, 2003, 03:03:34 AM »
I think there is an rpm for previous version but Im not sure
anyway i'm pretty sure you can simpli edit (via customtemplate procedure) the services section and redirect smtp port from 25 to port 225 (for example), and start the files you probably extracted from assp package to /opt/assp/ and simply type perl assp.pl and it will begin listenig to port 25 and forwarding not spam mail to port 225. I will search the procedure again, maybe I should write a howto, but I'm not realy an expert at all not even enough to wrtite a how to.
let me find some documentation and I'll post here

Ale

alejandro

Re: Is it possible to filter inbound/outbound email attachme
« Reply #6 on: October 04, 2003, 03:10:16 AM »
Ok.
No need to write a new one
find this one an it seems to be up to date and very clear and complete.
http://www.sonoracomm.com/sonoracomm/pdf/ASSP_HOWTO.pdf

Finchwizard

Re: Is it possible to filter inbound/outbound email attachme
« Reply #7 on: October 08, 2003, 03:39:17 AM »
That's great!!!

Definately going to do this.

Does it support Webmail though?? Or is this only if a client is trying to get to it??? From say like a Windows Machine......??

Or it just does it for everything?

alejandro

Re: Is it possible to filter inbound/outbound email attachme
« Reply #8 on: October 08, 2003, 05:06:18 AM »
It works with IMP web mail system included on sme
at least for me
;-)
Just my thought about (a newbie's thought by the way) ASSP is a spamfilter before any other process  so, I think It should work well for the most common uses of several smtp mail systems.
Alejandro

Martin

Re: Is it possible to filter inbound/outbound email attachme
« Reply #9 on: October 19, 2003, 08:12:49 AM »
I think I understand how this will work well for smtp but will it work if I use POP3 to pull mail from a single account using multidrop?
Cheers, Martin