in reply to Re: sending an email to a perl scriptin thread sending an email to a perl script
Using STDIN to provide the source is somewhat unusual.
It's usual for handling mail in a .forward file, however.