| Quatar |
You're talking about a non-magical door vs a +4 magic weapon.
I'd say the magic weapon wins and comes away without a scratch.
Also I think there are no rules for the sundering weapon getting any damage in the first place, so it's obviously not something the devs planned.
But ok, some more rules:
+4 magic adds +8 to the hammers hardness, and a lucern hammer has at least 5 hardness to start with (10 if you really just look at the metal head and ignore the wooden haft which shouldn't get damaged by the door). That's 13-18 hardness right there. Good luck for a nonmagic door to do that much damage, that it goes through that.