Dog attacks on mail carriers are a common hazard of the job. More than 5,400 U.S. postal workers were attacked by dogs in 2021.