I _think_ you need to use a system filter to do this.
Have a look at the exim home page(http://www.exim.org),
the documentation is pretty thorough and there are examples.
I have something like this as my system filter, it rejects overlarge messages
and archives
a particular users mail to disk.
# Exim filter
if
first_delivery and $message_size is above 10000k
then
fail text "I am sorry this message is too large"
finish
endif
#system filter to add archiving
if
first_delivery and $h_to contains "usertoarchive" or $h_cc contains
"usertoarchive"
then
unseen save
/var/mail/archive/usertoarchive/${substr_0_10:$tod_log}
endif
#end Exim Filter
---Gareth
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug