procmail
[Top] [All Lists]

RE: Filtering the attachments

2002-03-14 16:39:17
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You might try sanitizer procmail filter.  Just do a google search for
it.  I just finished setting mine up and it seems to work pretty
well.  Not sure if you can do EXACTLY what you want, but it has
sophisticated options for altering potentially harmfull extensions
and preventing certain file types from getting through. 

Mike Loiterman
mike(_at_)ascendency(_dot_)net
PGP Key 0xD1B9D18E

-----Original Message-----
From: procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE [mailto:procmail-
admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE] On Behalf Of Vaibhav Gupta
Sent: Thursday, March 14, 2002 12:23 AM
To: procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Filtering the attachments

Hi,

Could any one help. I want to filter the attachements with the mail.
Is it possible to check on the basis of header of the attachements.
Suppose somebody sent a abc.jpeg file renamed as abc.xyz

Is it possible that I check the header of abc.xyz and find out that
it is a .jpeg file and drop it at the server level.

Regards,

Vaibhav
---------------------------------------------
http://mail.indiainfo.com
India's first ISO certified portal
Check world time at http://time.indiainfo.com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4
Comment: Message digitally signed by Mike Loiterman

iQA/AwUBPJEw+mjZbUnRudGOEQJKQgCfet2iYgRjEABE4pFR0pgIshxQAtwAn3JB
aOqguF4jp9D1EhRjCp/1XcIq
=T4LJ
-----END PGP SIGNATURE-----

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>