The first thing you'll need to do is make sure that in /etc/exim.conf you have a line that looks similiar to this:
#!!# message_filter renamed system_filter
system_filter = /etc/antivirus.exim
I believe the first line was already in there and only had to add the second line. One warning. If you upgrade exim or make additional changes through the exim configuration in cpanel you'll lose the above information if it wasn't already in there. To make it permanent you'll need to place those changes in /etc/exim.conf.dist. The reason I'm not suggesting you write the changes immediately to the dist one is so you have a backup to roll back to in case you have a problem.
Second thing to do is open up /etc/antivirus.exim and insert something similiar to this:
logfile /var/log/filter.log 0644
if
$header_subject: contains "it's me" or
$header_subject: contains "Greetings" or
$header_subject: contains "advice" or
$header_subject: contains "FINANCIAL REPORT" or
$header_subject: contains "Alert !" or
$header_from: contains "'" or
$header_subject: contains "check this"
then
logwrite "$tod_log $message_id from $sender_address contained spam keywords"
seen finish
endif
A lot of this was taken from here:
http://www.webhostgear.com/338.html. It's a decent reference and worth bookmarking.
Here's a warning though. Be very careful what you filter on. Some of mine in the past were filtering on things like "fwd:" which we both know could catch legit email. I did a search from my MailScanner reporting and determined that nothing but spam was coming in with that for the past 7 days so I felt ok to use it for a day or two. I have since removed it.
Good luck and let me know if you need anything else.
--
bigj