On every indoor system that I've seen, there is a white PVC pipe that's sticking straight up, or has a T in it that's pointing upwards. Usually there is a cap over it. The cap is never glued on, it's just a dust cover. You take it off and pour bleach in there. I do it monthly.
One of the big things that AC unit does is remove humidity from the air inside the house. That humidity becomes water inside the unit. It drains through that pipe. The pipe goes from the bottom of the unit to a sewer line. In attic units, it usually connects to a vent line.
The secondary line goes from the pan in attics. A lot of units in hallways don't have a pan, or secondary line. The attic line usually comes out of a soffit, dead center over a window so you can see the water coming out when the main line is plugged. Clients tell me that they have been seeing water dripping in front of their window for years, but never knew why. Then one day, their ceiling falls in, soaked with water and I get the call to fix it.
AC guys seem to like to put the units in attics because it gives them more flexibility on ducting. Also, a lot of attics have more room in them then a hall closet. When I built my parents house, I hit a wall with several AC companies about putting the unit in a utility area in the garage. They refused to do it. The one I hired agreed to put it where I wanted it. Servicing them, like adding bleach to the drain line is a horrible thing to do here in the middle of Summer. It also ruins your insulation because there is a path that you have to take to get to it. I've had clients hire me to build a plywood path to get to their AC units, with railings.
If your house has the older metal ducting, odds are very good that it's leaking in multiple areas. If it's the new insulated, flexible ducting, the only place I've seen it leak is where they join together, or Y a big line into 2 smaller lines. Most of the time I can fix it with some foil tape. I only notice it when I'm close and I can feel the cold air coming out through the leak.