Hey folks, I've read through most of this thread and haven't seen an answer to my question.
I'd like , but I'm concerned about sanitation. In my secondary carboy, I have an airlock and do not fear the beer getting infected. But my primary is just a large bucket with a lid... should I put this lid on tight?
Usually I leave the lid loose for the few days the beer is in the primary before transferring to the carboy.
To complicate, sometimes my batch bubbles over and leaves a huge mess, which must only increase the likelihood of a wild yeast or something taking hold...
First, it's ok to leave the lid loose to allow the Co2 to escape. But some people have been known to get fruit flies in their bucket because the gap was big enough to let them in. If you are not worried about fruit flies, then have at!
Second, if you are having blow off problems you need to investigate a "BLOW OFF TUBE" which would help solve the problem of a blow off making a mess. This device would require the lid to be tight so the gunk doesn't escape past the lid seal, but it doesn't have to be air tight.
The important thing to understand here is that bacteria and stuff like that aren't flying around under their own power looking for food. They are carried around on other things and by wind currents. The other things are like saliva, fingers, dust, grain, etc.
They can't fly UP into your fermenter!
So the air lock helps to keep Oxygen from oxidizing your beer, and as a secondary function can help keep bacteria from getting in there as well. But you don't need an airlock to keep bacteria out, you only need to keep stuff from FALLING INTO your fermenter. So a loose lid is ok.
In actuality, it's kind of hard for bacteria to contaminate a fermentor under normal conditions. Common practices such as sanitizing equipment (That could have collected bacteria from sitting around), your hands (picking up bacteria form your mouth, and from touching stuff that sat around), and of course not opening up your fermentor in places where there are a lot of bacteria such as near your grain, especially crushed grain which is floury, near furnace vents (Lots of air currents that can push bacteria into an opened fermentor).
In general it's safe and common to open a fermentor for short periods to rack or check gravity. The odds of getting enough bacteria into the fermentor to grow into a real infection is very small. After the fermentation is under way, there is enough alcohol to help prevent spoilage, and once it's done, there is a LOT less food for the bacteria to consume as well.
In summary my advice is to feel free to close the lid and use a blow off tube to prevent the gunk from making a mess.
You may wish to double check your fermentation temps. Blow off can happen at nearly any temperature, but I've noticed that since I got my temps down in the better range (low to mid 60s) I've gotten a lot less blow off (for normal gravity beers) and cleaner tasting beers.