What you really need is ventilation
Fresh air and light are the enemies of mold and mildew. Solar powered vents...leave all lockers open and drawers pulled out so that air can circulated in them and behind them...even all interior hatches open so that air can get to bilges. And use a wet vac, dinghy bailer and/or a sponge to manually remove all bilge water left behind by bilge pumps every time you close up the boat. I always left a lamp that had a 60W bulb burning in it when I was away from the boat...it had the added advantage of discouraging vandals and thieves. Of course, a lamp would have to be secured to prevent wake or a storm from tipping it over, but I can attest that, by doing everything I've recommended here, I never had any mold or mildew on any boat I've ever owned.