On the linear Boltzmann equation with inelastic scattering