K.E.
I started getting a smelly washer when I wouldn't leave the lid/door open. The water mist left over from the previous starts to harbor bacteria (which thrive in moist places) and would create a moldy type of smell. I never washed it with vinegar or anything (which sounds like a good idea) but simply left the door open to dry it out and that solved my problem.