It doesn't change the ports, previously in avast 7 'you' had to change the ports so that avast 7 could scan the SSL emails. This isn't required in avast 8, so if you changed the ports so that avast 7 could scan SSL email then you need to restore those ports in your email program.