Does Yahoo IM uses the email ports? I mean, port 110 for instance?
If you add the line
IgnoreProcess=<yahoo_im.exe>
(changing everything after the equal sign to the correct name of the process) into avast4.ini file section [MailScanner].
See more clicking on ‘Setting’ in my signature.