Hi!
You can use metamail to split up the incoming message into the various
mime parts and grep for .exe in the headers. If no match is found you
can get it delivered using some local MDA. Take a look at the Amavis
script for how it does something similar.
Regards,
Sandip
On Fri, Jan 12, 2001 at 02:51:09PM +0200, Rajesh Divakaran merrily said:
> Is it possible to block the mails which has .EXE attachments..
> i.e. my mail server should NOT accept any mails with .EXE attachments and it
> should bounce it back to the sender.
--
-------------------------------------
Sandip Bhattacharya
sandipb @ bigfoot.com
-------------------------------------
----------------------------------------------
LIH is all for free speech. But it was created
for a purpose. Violations of the rules of
this list will result in stern action.