Warm your water to the highest temperature your boiler allows (must be at least 70C iirc) and when the water warms up, run all hot water faucets at full-open for 2 minutes. That should kill the smelly bacteria.
Source: instruction manual of my boiler. They recommend to do it a few times a year.