Yep and yep, but the relevany settings in my avast ini file is this:

[MailScanner]
DefaultPopServer=127.0.0.1
SmtpListen=127.0.0.1:25
ShowTrayIcon=1
UseDefaultSmtp=0
AutoSetProtection=0
[VRDB]

Is the problem here?

Your helps appreciated.