There's some misinformation in this thread. If you tap into the vent stacks in your attic it will vent out the roof, not into your sewer pipe. If you hack into the sewer pipe under your home it will vent into the sewer and not into the attic and out the roof. There is a water trap on every plumbing fixture that blocks air from going on way or the other.
Also whoever said the vent lines aren't connted to the sewer lines is wrong. They are directly connected and only seperated by the little bit of water in the traps in ea fixture.
Lastly if you have a strong fan it will blow the water right out of the trap and then who knows what way gasses will flow.
And if you are tapping into the sewer line (not vent line) you'd best just run exhaust 24/7 into it until the day you patch that tap up. No one way valve in 3 or 4" size will work well enough to really stop gasses from going the other way completely.