Re: Attach filter
From: Monique Y. Mudama (spam_at_bounceswoosh.org)
Date: 06/25/04
- Previous message: Leandro Guimaraens Faria Corsetti Dutra: "Re: problem with gnome-setting-daemon"
- In reply to: alobato_at_icb.usp.br: "Attach filter"
- Next in thread: Paul Johnson: "Re: Attach filter"
- Reply: Paul Johnson: "Re: Attach filter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Fri, 25 Jun 2004 11:15:16 -0600
On 2004-06-25, alobato@icb.usp.br penned:
>
>
> Hi,
>
> Is there some mail attachment filter based on name of the attach? I
> need a program or dev lib that get a mail file and return it without
> attachs which has their name in a blacklist. I run p3scan as pop3
> proxy and have to add this funcionality. I program in C, so, dev
> libs are welcome too.
>
You can use procmail, tmda, or any other filtering app for this. Here's
what I have in my tmda configuration:
body 'filename\=.*\.(pif|scr|exe|bat|com|vbs)' drop
body 'Content-Type:.*name=".*\.(pif|exe|scr|bat|com|vbs)"' drop
body 'Content-Type: application/x-msdownload' drop
-- monique -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Leandro Guimaraens Faria Corsetti Dutra: "Re: problem with gnome-setting-daemon"
- In reply to: alobato_at_icb.usp.br: "Attach filter"
- Next in thread: Paul Johnson: "Re: Attach filter"
- Reply: Paul Johnson: "Re: Attach filter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|