Keyid should be taken from the remailer dict, not from the header list.
Looping intermediate messages back to ourselves is unlikely to get them to their destination.