# Exim filter if error_message then finish endif if $h_subject: contains "discard" then seen finish endif if $h_subject: contains "file" then save DIR/test-mail/saved endif finish