Outdoor wall luminaire with E27 socket