This is my filter rule:
1. Add /usr/exim/system_filter ( see below )
if "$header_subject" is "ILOVEYOU"
then
logfile /var/log/exim_filterlog
logwrite "$tod_log $message_id \
$sender_address ($sender_host_name[$sender_host_address]) \
=> $recipients (recipients=$recipients_count) \
subject=$header_subject"
save /var/mail/filtermail 0600
seen finish
endif
2. add this line in your main configure
message_filter = /usr/exim/system_filter
3. kill -HUP exim parent pid
4. tail -f /var/log/exim_filterlog
Enjoy it! :)
--
Ching-Wei LIN / ªL¿[Þ³
cwlin@???.
http://cwlin.seed.net.tw
SEEDNet Senior System Administrator / System Architect
Taipei, Taiwan.