Posting to sub-sites based on a category

Please suggest a solution for the posts to appear at specific subsites after publishing them on the main site, based on category.
Any plugin or snippet for that?