Stick a toothpick in each pinhole leak as far as the toothpick can go and let the water seeping from the leak swell the wood.
Break or cut the toothpicks off close to the pipe, then turn the water off.
Mix the epoxy glue according to the manufacturer's instructions, then apply a small drop to each toothpick piece sticking out of the pipe so that the glue covers the toothpick piece and adheres to the pipe, sealing the toothpick piece in the pipe.
Wrap the pipe with a strip of strong cloth such as muslin or cotton duck and apply epoxy to the cloth all the way around the pipe. Allow the epoxy to dry and adhere the cloth to the pipe, then turn the water back on.