I have replaced the bulb housing a year ago but the bulbs burnt out recently. I tried new bulbs in all three sockets but did not work. There is a recall for this issue but it appears to be years 2002 to 2005.
My back rear lights driver side started working intermittantly and now are out. on 2001 BMW 325xi
Some of these cars have an updated harness, which adds an additional ground to the lamps, to help prevent the sockets from overheating.
1 more answer
use bulb grease. left or right tail lamp? stoped my problem