as for magic, obviously spells & items only count if they explicitly create sunlight, like a Sunblade... but is it enough to be in the "dim light" radius of such effects, or is only the "bright light" radius sufficient?
I'd argue that any object designed to transmit or reflect light (clear windows, mirrors) would not afford protection, while effects that alter said light (stained glass) would shelter a vampire.
likewise, ambient daylight, or light reflected off of a bright surface (like a white wall) would not be dangerous to a vampire. by that argument, neither would moonlight affect them.
as for starlight, I'd argue that the meta definition of "sunlight" implies a given planet's sun, not ANY light from ANY solar body. By that definition, a vampire would be vulnerable to only its own planet's sun/s (so Tatooine is Double Peril for Space Vampires)
... when it comes to Vampires and Sunlight Hypersensitivity, what actually counts as sunlight?