A Natick man was apparently nice to the wrong person, and as a result of his polite gesture he'll be sitting in jail for a month.

When Kayvon A. Mavaddat, 28, went to the Natick Mall on Friday he stopped to hold the door open for an officer leaving the mall. Unfortunately for him, the officer recognized Mavaddat as someone having three warrants and arrested him, police spokesman Lt. Cara Rossi-Cafarelli said on Monday.

“The officer turned around to thank him and recognized him,” said Rossi-Cafarelli. “He asked if his name was ‘Kayvon,’ and he said, ‘No, Kevin.’”

The officer went to his cruiser and looked up Mavaddat on his computer and recognized “Kevin” as “Kayvon” and went back and arrested him.

Mavaddat, of 4 Millbrook Road, had a Framingham District Court warrant that charged him with driving with a suspended license and a signal violation, police said. According to police, Mavaddat also had two Natick District Court warrants. One charged him with possession of heroin and the second charged him with shoplifting, police said.

Once Mavaddat was in court, his plight worsened.

On Monday, Mavaddat’s probation officer, David DiGiorgio asked Judge Martine Carroll to hold Mavaddat without bail, pending a probation surrender hearing. He said Mavaddat has not appeared in court for months, has skipped all of his court-ordered drug tests and has not paid any probation fees. He said Mavaddat has a history of not completing probation.

Mavaddat’s lawyer, Jackeline Meireles, argued for her client’s release.

“The difference here is he just started a job, so he has money, and he can start paying the money back,” said Meireles. “He can pay $200 tomorrow.”

Mavaddat told the judge he would be fired from his job if he was held.

Carroll ordered Mavaddat held without bail until a probation surrender hearing on June 9. After being ordered held, Mavaddat could be heard yelling from the holding area in the basement.

Norman Miller can be reached at 508-626-3823 or nmiller@wickedlocal.com. For up-to-date crime news, follow Norman Miller on Twitter @Norman_MillerMW or on Facebook at facebook.com/NormanMillerCrime.