Vent fans in the bathroom have to go to the out of doors. Asking for problems is what Venting this fan into the attic is for. The condensation on the roof members will be caused by the excessive humidity. Even if the attic is vented, it's never a good idea to vent directly into the attic.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.