Ironically, using excessive amounts of detergent might also make your washing machine smell like a sewer. There would be a lot of detergent residues left after washing if you did not use enough water to wash your clothes.