Quantum tunneling in the presence of an arbitrary linear dissipation mechanism