I'm referring to this kind of electrical box.
formatting link
When wiring one of these waterproof outdoor boxes on a wall, I've found that it's not possible to use the traditional methods. What I mean is that when the box sits flat against the wall, you cant use a romex clamp on the back. I dont care to have the wire exposed where it enters the box from the top, bottom or side, so I always bring the wire in the rear hole. The problem is that you cant clamp it, unless you make a large enough hole for the whole clamp. While that may seem ok, it's really not, because water will get behind the box and into the wall.
While my method may not be up to code (due to lack of a clamp), I've simply drilled a 1/2" hole in the wall, ran the wire thru that hole and used silicone caulk around the romex. After the silicone drys, I just let the wire come thru the hole in the box without a clamp. Before wiring it, I put more silicone in the threaded hole around the cable to seek water from entering this box.
Is there any other method for doing this?