Gluing the box to the post (3M 5200) would work.

A waterproof caulk rather than washers would work.