protocol Imap

  • Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: ‘Fabiano Ribeiro’, Server: ‘mail.prohost.com.br’, Protocol: SMTP, Port: 25, Secure(SSL): No, Error Number: 0x800CCC0F"

  • Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: ‘Fabiano Ribeiro’, Server: ‘mail.prohost.com.br’, Protocol: IMAP, Port: 143, Secure(SSL): No, Error Number: 0x800CCC0F"

This is a error message and i don’t know how can fix it.

What email program are you using?
What Operating System are you using?
Are you using a firewall, if so which one?

Does this happen for only outbound (sending) connections (smtp and imap are for sending)?
Does it only happen if you are sending emails with attachments?
I assume that you don’t have any problem with inbound email (pop3)?

As a start point you can try increasing the time out delay in your email program.

Welcome brazilian! 8)
Follow David’s advice and let us know if you could solve the problem… 8)

i’ve got a problem with Avast and IMAP too …

when Avast was running i could not connect to our IMAP server at work. Not just when retrieving mail, but I could not even log in … there was no connection at all and I had to disable Avast to connect & get my mail.
Eventually I changed the config. file to disable IMAP mail checking ; StartIMAP=0 or something …
there must be some old threads here with my problem.

i’ll check when i’m home.

Are you sure that your firewall allows the following programs to connect the Internet?

ashServ.exe (avast! antivirus service)
ashWebSv.exe (avast! Web Scanner)
ashMaiSv.exe (avast! e-Mail Scanner Service)
ashUpdSv.exe (avast! Update Service)
avast.setup (avast! Update executable)

My email program is Outlook 6, Win XP sp2 and i use the router in my network.
This happen every time, when i send and receive email…

Hi Technical,

Are you brazilian?

i try fix my problem, i change the timeouts but doesn’t work, my conection drop again…

i don’t know what to do…

well, every single application and protocol works, except IMAP … so I’m pretty sure that my firewall allows Avast to do what it wants/needs. When i try to connect to the IMAP server, my firewall (Outpost Pro 2.5) doesn’t block anything … when i disable IMAP checking in Avast, it works !

There’s something wrong in Avast’s handling of IMAP and it started with 4.5 … before that : no problem at all.

did you try this, in avast.ini :

[MailScanner]
StartImap=0

Penta ;D

Please insert the line
Log=20
to file C:\Program Files\ALWIL Software\Avast4\Data\avast4.ini under [MailScanner] for detailed logging.
Then send one mail (or retrive mail if incoming mail is the problem), which will generate the log file. After that, post the last lines of the log file C:\Program Files\ALWIL Software\Avast4\Data\log\aswMaiSv.log. Thanks.

got it working …

I noticed that when using StartImap=1, by default Ashmaisv.exe listens for IMAP on localhost:loopback port 12143 (!?!) …
So I put a line under [MailScanner] : ImapListen=192.168.1.2:143 (local IP address).

And now it works ; Avast listens on local:192.168.1.2 port 143 and when I connect to the IMAP server at work through dial-back it redirects (?) to the IP of the mailserver and asks for my password …
It’s probably very simple and logical, but if anybody here can explain what happens ; I’m listening …

I used the Log=20 to see what happens anyway …

without ImapListen :

04/07/05 21:28:02 000009D8: IMAP RedirectPort: 143
04/07/05 21:28:02 000009D8: Redirect set 143->127.0.0.1:12143

04/07/05 21:28:12 00000A3C: IMAP accept connection from: 127.0.0.1
04/07/05 21:28:12 00000A3C: IMAP Connect from NOT Trusted address, dropping

with ImapListen :

04/07/05 21:30:17 00000B08: IMAP RedirectPort: 143
04/07/05 21:30:17 00000B08: Redirect set 143->192.168.1.2:143
04/07/05 21:30:17 00000B08: IgnoreLocalAddresses set 143
04/07/05 21:30:17 00000B08: IMAP Listening daemon started

04/07/05 21:30:26 00000A34: --IMAP command REDIRECT xxx.yyy.28.200:143 292
04/07/05 21:30:26 00000A34: Connected to IMAP server xxx.yyy.28.200 143

(changed the IP of our IMAP server)

You probably have ‘Trust=192.168.1.2’ in avast4.ini, that would explain why 127.0.0.1 is not trusted address.

yes.
but the IMAP server is on a different IP address (at work) ; not 192.168.1.2 or 127.0.0.1 … ??
and when i’m connecting thru dial-up to the server, I get a different IP address every time … so why do my local addresses have to be trusted to connect to an IMAP server on another network ??

I don’t think you have to.
But if you set it, it should be the right one.
If you let the value empty, will it work?

Trust=

I’ll try …

but reading your ‘understanding avast.ini’ thread, the ‘Trust=’ is ignored anyway, now that i specified an ‘ImapListen=’ …

“If you set the Listen items in the form of: 127.0.0.1:Port, the Trust item has no effect, because only connections from the local address (127.0.0.1) are accepted”

So? Does it work? :slight_smile: ::slight_smile:

haven’t tried yet … it’s Sunday and i’m not that interested in mail at work :wink:

and also i really do not want to leave the Trust= entry empty ; the server is ‘proxying’ mail for some computers on my LAN …

yes. but the IMAP server is on a different IP address (at work) ; not 192.168.1.2 or 127.0.0.1 ... ?? and when i'm connecting thru dial-up to the server, I get a different IP address every time ... so why do my local addresses have to be trusted to connect to an IMAP server on another network ??

‘Trust’ setting is not related to the mail servers that you use, but rather from where a connection is accepted. And it is from a mail client running on your computer.

"If you set the Listen items in the form of: 127.0.0.1:Port, the Trust item has no effect, because only connections from the local address (127.0.0.1) are accepted"

Well, this sentence from the help is not quite precise. It tries to say that changing the default ‘Trust’ when ‘Listen’ is set to 127.0.0.1:Port, has no additional security effect, because this ‘Listen’ value implies that only 127.0.0.1 is trusted. Thus if you define your ‘Trust’ and omit 127.0.0.1, it won’t accept any connection.