Post offices to shut within weeks