Set a rack or inverted heatproof dish in a deep, lidded pot. Grease two clean 16-ounce metal coffee cans or one 1-quart steamed-pudding mold thoroughly with the softened butter.
In a large bowl, whisk together the cornmeal, whole wheat flour, rye flour, baking soda, baking powder, and kosher salt until evenly combined.
In a medium bowl, whisk the buttermilk and molasses until smooth.
Pour the buttermilk mixture into the dry ingredients and stir with a spatula until a thick, pourable batter forms; do not overmix. Let sit 5 minutes to hydrate.
Divide the batter among the prepared cans or pour into the mold, filling each about two-thirds full. Tap gently to release air bubbles.
Bring water in the pot to a gentle simmer; it should come about halfway up the sides of the cans or mold once set on the rack.
Cover the cans or mold tightly, place on the rack, cover the pot, and steam at a gentle simmer.
Steam until a skewer comes out clean from the center: 1 hour 15 minutes to 1 hour 30 minutes for two 16-ounce cans, or 2 to 2 1/2 hours for a 1-quart mold. Maintain a gentle simmer and add hot water as needed to keep the level constant.
Remove the cans or mold and let rest 10 minutes. Run a thin knife around the edges and unmold the bread.
Cool 15–20 minutes more before slicing. Serve warm, plain or alongside baked beans.