open(MAIL, "|/usr/lib/sendmail -oi -t") || die "Can't open sendmail: $!"; print MAIL <