Did you put the line UseDefaultSmtp=0 to avast4.ini ?
If yes, please insert also Log=20 under [MailScanner]. This will cause the detailed log to be generated. You can send it to me by mail. Thank you.