You can change the port for SMTP in avast4.ini (e.g. to 26): insert this line under [MailScanner] SmtpListen=127.0.0.1:26 and then change the port to 26 in account settings in your mail program too.