Sounds like a mildew problem. Front loading washers are notorious for it. Look it up online for some ways to combat it. Mostly what I've seen involve cleaning both sides of the plastic seal with bleach to kill the mildew and then to leave the door open so it air dries. Keeping it dry is supposed to prevent the mildew from having a place to live.