Is it legal to pass a postal vehicle on a solid line in United States?

Yes, it is legal to pass the postal vehicle, but only on the terms of the vehicle being on it's route (delivering mail). It would be illegal/unnecessary if the vehicle was not on route, and not doing any stops.