Avast uses these ports for mail scanning purposes:
- 12025, 12110, 12119, 12143
- 12465, 12563, 12993, 12995 (from avast v5, for warning about SSL)
They can be changed in EmailShield.ini file by inserting such lines under [EmailScanner]:
PopListen=127.0.0.1:12110
PopListenSSL=127.0.0.1:12995
For SMTP, NNTP and IMAP accordingly. The default is always 12000 + respective standard port, so 12993 and 12995 corresponds to ImapListenSSL and PopListenSSL. Restarting the Mail shield is needed after the change.