resend mails vom dovecot maildir via sendmail

hi

here some simple bash snippet to get this done.

cd /path/to/maildir/new
for x in *; do cat "$x" | sed -e "/Delivered-To: mail@reviever.at/"d | sendmail -G -i gywho@wantsmail.at ; done

Have fun!