Postprojective components for algebras with certain heredity conditions