Just a thought: doesn’t the server that’s not working require SSL (i.e. encrypted) authentication? avast can not work with such accounts (by definition)…

Otherwise I assume you’re setting it all correctly. Maybe a look into the ashMaiSv log file could reveal something suspicious (I’m not sure whether it’s being generated by default, though).

Vlk