A person in his 60s who assaulted a postal worker and caused a disturbance at a pub has been sentenced to a suspended prison term.