Today I had quite a strange problem with downloading mail and the question is if Avast pro behaved correctly (due to the strangeness of the mail) or behaved in an erroneous way due a situation not previewed by design.
Various clients of mine began this morning to tell me that they could not download new mails anymore. They all have Avast pro and the same ISP (different virtual mailboxes of the same domain). The clients used were also of different types (Eudora and Outlook Express) and other virtual mailboxes of the same domain were instead perfectly working and downloading mail as usual.
By checking the accounts with the use of an http client it was possible to see and interact with the new mails, but it was not possible to download them using the cited mail clients. They could send mail as usual, but not dl from the pop server.
Eudora gave a quite strange error: quit error when checking mail (Dominant, Shutting down POP connection, QUIT Error reading from network Cause: Connection closed by foreign CODE 0). There were 14 messages to download but the connection stopped immediately after trying to download them.
Reinstalling Eudora with fresh new and correct parameters didn’t change the situation.
So I tried creating the same account on an Outlook Express client, the result was the same but the error code gave some more elements to investigate:
“Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account. account name, Server: ‘server name’, Protocol: POP3, Server Response: ‘+OK’, Port: 110, Secure(SSL): No, Error Number: 0x800ccc0f”
Searching on MS knowledge base I found the article 815314, and I could exclude that the problem depended on the firewall or the antivirus (because they are the same for different virtual mailboxes of the same ISP: some are functioning, the others not).
I contacted the ISP support, they made me trying downloading while logging and concluded, quite easily indeed, that from the server side all was normal (because they saw the negotiation between client and server and the server responded correctly that I could start downloading).
They made me try another experiment: a Telnet connection to the virtual pop. The ISP support concluded (erroneously, as we will see) that, as long I could login and browse the mail by telnet interface everything was OK (it is obviously wrong from a logic point of view, because I can also simply browse the mail by http interface, but I still cannot DOWNLOAD those mails by a mail client).
Don’t knowing what to do else, at one point I completely disabled Avast Pro and the mail client began to download the mail without problems (both Eudora and Outlook). I enabled Avast once again, sent some test mails to the virtual account not functioning before and the mail client still dled without any problem.
But looking at the dled mails i noticed that some of them had a very strange aspect: no header, no subject, no of nothing, completely EMPTY mails. By connecting again with Telnet interface i could list them and they had dimension… 0 bytes!!! Of course they were not visible using http interface.
When speaking with the ISP support I first asked them if they had some problems with the virtual mailboxes, and they answered that there was a problem in the last days so that a server generated some EMPTY mails, but that the problem was over now.
The problem was over, but the effects NOT!
By carefully reading the cited MS article 815314, and excluding all obviously wrong explanations, the only one plausible is number 8:
“Delete suspicious messages from your mailbox
If there is a damaged message in your mailbox, you can resolve this by doing one of the following: • Contact your ISP and ask them to delete any suspicious e-mail.”
So, as I had several other virtual accounts to unlock, I now tried my (and MS’s) theory. I Left Avast pro running, connected to the virtual pop by Telnet interface, list and delete the mails with size of 0 bytes, logged out, then launch a mail client (at pleasure) and… the mails were again dling with no problems!
Of course I had some big problems in finding the 0 bytes mails with an account (ahem, the one of the Boss…!) that listed more than 1000 mails! (I had to dl and install a Telnet specialized emulation SW, as the XP 2K Telnet interface sucks).
Finally, it’s clear I had a heavy quarrel with the ISP support personnel, as they easily concluded that the problem was mine and I had to solve it myself (fortunately I’m used to this approach since 1980 at least), but the question remain open:
What happens when Avast Pro checks incoming mails and finds some 0 bytes messages? It seems it stops the connection between client and server, instead of passing some sort of comprehensible error message to both sides. Is this correct and done by design?
Thanks very much
Roberto Balzan