An Iranian journalist who was convicted of spreading propaganda against the ruling Islamic establishment lost an appeal on Sunday , and was sentenced to six years in prison and five years of internal exile in a remote desert town .