If you use a zinc phosphate primer it will usually squeeze between most of the joints and give it a corrosion protection. The paint will not, obvioulsy.
That's why i daub on zinc phospate, instead of spray. ideally, you'd do a full immersion into the zinc phos, but daub is the next best thing.