It seems some program uses the mail ports. You’ll have to find out which program(s) is(are) running when this happens.