"enacted, that every collector, naval officer, and surveyor, or other person" . . . .