Hi,
U have to enable in config file
i.e
message_filter = /usr/exim/filter
and edit file /usr/exim/filter...add the following lines
******cut *****
if $header_subject: is "new photos from my party!"
then
noerror fail text "This message has been rejected because it has virus\n\
\t plz clean it."
seen finish
endif
***** paste ********
and restart the exim. or killall -HUP exim
Plz next time onwards search at mailing list archive.
Have Fun
Jai
-----Original Message-----
From: exim-users-admin@??? [
mailto:exim-users-admin@exim.org]On
Behalf Of Rajesh
Sent: Monday, January 28, 2002 7:58 PM
To: Exim User list
Subject: [Exim] Filter
Hai Guys
Can anyone plz tell me or send me a sample of how to block a mail in
exim with subject. there is a virus which is floating around with the
subject as "new photos from my party" which has to blocked. I cant
assume from where it comes, so it has to be blocked using subject
Thanks
Regards
Rajesh
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##