How to get transparency to cast shadows.

So do you want to make the shadow translucent (most shadows already are)?
Why do you need to limit which color channels it specifically renders to?