My helmet straps get salt stains but they smell okay. Every once in a while I rinse the whole thing in the sink. I take the helmet pads out and rinse them separately.

I have two helmets and I alternate between them so they get time to air out between wearings. Not sure if that makes a difference.