Sorry if i did not have the facts straight; However, as I understand it, Avast! works only with this ports for e-mail:
SMTP port 25,587
POP port 110
IMAP port 143
NNTP port 119

I could be wrong though.