Better off painting up to the door mouldings if you've got them on yours?
Try not basecoating right to the edge of the mouldings too
You'll struggle to get it right with aerosols tbh...
And the doors from the inside will want treating or it'll be back in no time