A/C condensate lines

Happened to notice this down in the crawlspace a few days ago and I've got a few questions for those more knowledgeable since this looks... problematic :p .

1. The secondary condensate outlet is dripping occasionally, even though I checked the primary line and it is flowing too. Is that unusual? It's probably relevant that the primary line is not perfectly sloped. There's a couple of pipes leading to the septic tank in the way and only about a two inch difference between the height of the outlet and the hole that been drilled to the outside ten feet away. So there's a section that's pretty level and then it slopes upward slightly before heading outside. Do I need to correct the slope? Regardless, should I put a trap on the primary line?

2. I assume the secondary outlet should have at least a trap on it (there's quite a bit of air blowing out it, needless to say), and probably should be run to the outside too? Obviously, the current drip is rusting the unit and putting moisture in the crawlspace.