My attic A/C unit has two condensation drains also. One is from the main drain pan, and the second goes to a separate pan which was fabricated to catch any leakage which may occur from the main unit itself. Basically, it is a safety overflow. Specifically, what is leaking for you? You said a pipe is leaking. Is this coming from a fitting in the run of pipe, or from where it enters the A/C unit, or where?