Do you say thank you to the delivery person or appreciate them?

Updates
+1 y
Yesterday my mouse arrived from Amazon. That guy came at 9:40 pm or something. The official closing time is 9 pm for deliveries in India.
I live in hostel. So, went down, took the package, and turned back again to say thank you to the guy, because 40 minutes above the closing time is a lot. The warden was about to close the gates (10 pm).
When I said thank you to the delivery guy, the warden immediately said that I don't need to say thank you to them. I was really pissed off but kept quiet.
Do you say thank you to the delivery person or appreciate them?
Post Opinion