If these smells are from bacteria living in the build up of debris on the piping walls most chemicals are completely useless.
If you pour any chemicals in as soon as you use water these chemicals are flushed away.
Your best bet is to hire a licensed Drainer Or plumber and have them water jet these lines to a like new condition as the debris is also flushed away it scours these lines clean.