Any sink or drain without regular water flow, will eventually lose the water in the p-trap due to evaporation, leading to a sewer smell. This most often occurs for us, in the drain under the washer and dryer pan. For us, basically we need to run a quart or 2 of water, into our washer pan every few months. Smell is gone immediately. You don't even need to move the washer to do this. If the pan is set up correctly, the drain will be at the lowest point and the water you pour in will make its way to the drain and refill the p-trap.
Here is a pic of a washer drain pan.
Sorry to fill up CB with my random DIY posts, but when I had my dryer out of the way to clean the vent, I also poured water down the drain and figured not everyone knew this little bit of plumbing history/smell fix.