#!/bin/sh cd /usr/spool/mail for i in * do if grep -s "^Forward to" $i then if /usr/lib/upas/translate $i then echo $i fi fi done