You are allowed to be on private property when you are invited on the property by the owner (either by invitation or by a common understanding) or when you are in the performance of a legal duty, such as a mailman.