spam.pl reads an email from stdin and creates a complaint mail which it sends to the postmaster and abuse-receivers of the domains that have relayed the mail. It is customizable to prevent complaining to friendly hosts, uses your own complaint mail and is ready to be invoked from within another mail program.