Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: Esgrimidor on May 08, 2011, 03:39:26 PM

Title: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on May 08, 2011, 03:39:26 PM
Looking up smtp.gmail.com or the socket was disconnected unexpectedly

I use Thunderbird and Goldmine 5.5 to send emails.
In the last weeks I have problems sending emails intermitent failures with the messages above.

I have made a test with the command Telnet

Start-Execute - telnet smtp.gmail.como 587

and received the message
421 concurrent connection limit in avast! exceeded(pass:0, processes:thunderbird
.exe[50])

I have tried to modify the EmailShield.ini with no results.

from values to 50 to 1600. I update the free version to 6.

How can I desactivate the EmailShield ?
How Can I resolve this issue with Avast free version 6 ?

Best Regards

Note : I think the secondary problem may be the total of accounts I have to synchronize with Thunderbird : about 50.

This not happen with prior versions.

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on May 19, 2011, 09:27:24 AM
Nobody knows nothing about this problem ?

Best Regards
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 06, 2011, 12:04:04 AM
Nobody knows about this problem ?

 :'(
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 12:21:21 PM
Nobody knows about this problem ?

Best Regards
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Asyn on June 20, 2011, 12:25:50 PM
OS..?
avast! version..??
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 06:37:30 PM
Windows xp pro sp3

Avast version 6.0.1125
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: DavidR on June 20, 2011, 07:09:21 PM
I don't use gmail, but I though that it used IMAP and not SMTP ?
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 07:14:47 PM
Yes the account are configured like imap accounts.

What do you mean ?

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 20, 2011, 07:37:55 PM
I don't use gmail, but I though that it used IMAP and not SMTP ?

It uses either, you just have to enable them in the settings page.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 20, 2011, 07:41:03 PM
@ OP: You have 50 email accounts that you're checking at the same time?

Well, maybe setting the value to 1600 wasn't good enough?  Try 0 to make it infinite.  Reboot the computer after the change.

I remember that in 4.8 you had to disable the self-defense module before making changes to the avast4.ini file.

I assume that's the same in 5/6, but I don't use them enough to know.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: DavidR on June 20, 2011, 07:49:51 PM
Yes the account are configured like imap accounts.

What do you mean ?

Well Scott corrected my thinking, e.g. if gmail only offered IMAP as its email protocol then using SMTP wouldn't work. So if it accepts SMTP your email account connection settings should be set up that way.

However, you have to uncheck the SSL connection settings for it in thunderbird and let avast take care of the secure connection. So I don't know if your problem is SSL related.

See - avast! 5.x: SSL Problems The Mail Shield may not scan some e-mails - see http://support.avast.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=458 (http://support.avast.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=458). Whilst this mentions avast5 it also applies to avast6.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 07:52:10 PM
Yessss yessss YESSSSSSSSSSSSSSs

That's scythe944 . That's the point.

I'll try and comment.
At the present moment i am a mere user and don't know about configurations but i can learn .

I have count 48 accounts and 4 newsgroups.

Please. Can you put where i have to make modifications step by step ?

Best Regards
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 07:54:46 PM
Yes the account are configured like imap accounts.

What do you mean ?

Well Scott corrected my thinking, e.g. if gmail only offered IMAP as its email protocol then using SMTP wouldn't work. So if it accepts SMTP your email account connection settings should be set up that way.

However, you have to uncheck the SSL connection settings for it in thunderbird and let avast take care of the secure connection. So I don't know if your problem is SSL related.

See - avast! 5.x: SSL Problems The Mail Shield may not scan some e-mails - see http://support.avast.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=458 (http://support.avast.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=458). Whilst this mentions avast5 it also applies to avast6.



YESSSSSSssss yesssss yessssssssssss
That's part of the problem.
In first execution in other system I don't take a screenshot, but I think to receive a only-message about SLL or something like that.

IN goldmine client I use a special gmail account configured with the help of Stunnel.
I don't use goldmine client to download emails, only to send.

Perhaps is a matter of configuration.

Please, can you put a step by step modifications to take place ?

Best Regards


Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 07:58:58 PM
I don't use gmail, but I though that it used IMAP and not SMTP ?

It uses either, you just have to enable them in the settings page.

I use either. Imap accounts and pop accounts. All accounts need an smtp server for outgoing messages.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:00:37 PM
@ OP: You have 50 email accounts that you're checking at the same time?

Well, maybe setting the value to 1600 wasn't good enough?  Try 0 to make it infinite.  Reboot the computer after the change.

I remember that in 4.8 you had to disable the self-defense module before making changes to the avast4.ini file.

I assume that's the same in 5/6, but I don't use them enough to know.

Oh my God. I am a simple user. Now I don't know where is the emailshield.ini

Please a step by step. I am lost.

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 20, 2011, 08:03:25 PM
Ok, well email clients can't use SSL with Avast, since it would block Avast from scanning the messages.

From what I've read, you have to setup your email client as a normal POP account, without SSL.  Avast will secure the connection for you.

The Avast4.ini file where you could change the maximum amount of connections was usually located here: "C:\Program Files\Alwil Software\Avast4\DATA\avast4.ini".

I don't have a clue where it is in version 5 or 6 though, I don't have that on my systems here. Maybe someone else can chime in.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:06:40 PM
Okis.
I'll try. I think or remember is EmailShield.ini now.

Look complicated to adapt all my account to the email shield.

Can I turn off the Avast email shield ?

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:10:09 PM
I have revised the email shield and was with the incoming messages activated and outgoing messages deactivated.
Now I have deactivated the email shield completely.

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:11:38 PM
Danger triangle is on. How can I disable this advice for the detention of the email shield ?

Best Regards
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 20, 2011, 08:12:23 PM
I'd suggest we actually fix the problem rather than just disabling the shield.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:13:58 PM
over the last line in EmailShield.ini

MaxConnections=0

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:15:06 PM
I'd suggest we actually fix the problem rather than just disabling the shield.

With 48 accounts ?


Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 20, 2011, 08:18:43 PM
No, I don't think you get what we're trying to say.

It's not a "per account" setting.  It's a global setting that tells avast "ok, don't scan more than "x" amount of messages at any given time".  Now, if we set that to unlimited and your email client starts downloading messages from 50 accounts at the same time, it won't error out. It'll be slow I'm sure, but it should work.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Pondus on June 20, 2011, 08:19:55 PM
Just some info....
if you worry about Email security, you should know that Google is protecting all Gmail accounts with Postini spam/virus filter, using two virus scanners form McAfee and Authentium

http://en.wikipedia.org/wiki/Postini
http://mail.google.com/support/bin/answer.py?answer=25760

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:20:58 PM
This is the content I have observed now in the SSL accounts :

(http://img202.imageshack.us/img202/2466/screenshot2006201119173.png) (http://img202.imageshack.us/i/screenshot2006201119173.png/)
(http://img194.imageshack.us/img194/1561/screenshot2006201119163.png) (http://img194.imageshack.us/i/screenshot2006201119163.png/)
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 20, 2011, 08:23:24 PM
Just some info....
if you worry about Email security, you should know that Google is protecting all Gmail accounts with Postini spam/virus filter, using two virus scanners form McAfee and Authentium

http://en.wikipedia.org/wiki/Postini
http://mail.google.com/support/bin/answer.py?answer=25760



I don't think SSL is for SPAM/Virus protection, it's for the protection of your login credentials and so that someone can't eavesdrop on the network while you are downloading messages.

I also don't think that the OP is worried about security, they just want the scanner to work as it should and not give errors.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:25:24 PM
I have unmarked the SLL detection without protection.

I need to use IMAP accounts to use my laptop and mainting my emails syncronized.




Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:27:52 PM
Just some info....
if you worry about Email security, you should know that Google is protecting all Gmail accounts with Postini spam/virus filter, using two virus scanners form McAfee and Authentium

http://en.wikipedia.org/wiki/Postini
http://mail.google.com/support/bin/answer.py?answer=25760



I don't think SSL is for SPAM/Virus protection, it's for the protection of your login credentials and so that someone can't eavesdrop on the network while you are downloading messages.

I also don't think that the OP is worried about security, they just want the scanner to work as it should and not give errors.

Who is OP ?

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: DavidR on June 20, 2011, 08:29:13 PM
AvastUI, Settings, Status Bar, Components monitored, uncheck the Mail Shield.

Personally I would preserver and try to resolve the problem.

OP - Original Poster = you.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:30:52 PM
Okis David and Scyte.

But I need help and I need no obtain the message.

About gmail account the ports 587 and 993 are correct in my configuration.
Why fail sending ?

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:37:24 PM
In the tutorial I think the step is done : Please

(http://img714.imageshack.us/img714/8734/screenshot2006201119332.png) (http://img714.imageshack.us/i/screenshot2006201119332.png/)

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: DavidR on June 20, 2011, 08:41:47 PM
When you try those different settings and they are failing, what you are getting errors are you getting ?
Give the error for each different setting (and which one they relate to) if they are different.

Presumably they are different to the telnet test that you did ?

Seen your image and you have to change the connection security set to none, that may well change the prot number I don't know, but avast should compensate for that in its SSL Account settings.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:46:14 PM
It seems that in some part of the problem I received help from the TB forum that don't know or consider that the antivirus take notice of the account configuration and repeat in the own.

But what I really don't undertand is why Avast! is not able to modify the account according to his purpose.

Because the values present in the SSL Avast configuration don't need in the past my participation. And now with the accounts modified because of the problem I need to modify one by one all the gmail accounts.

And perhaps the live.com accounts and so on.

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 20, 2011, 08:46:46 PM
David's correct.  You're using the SSL port in your email client, which it shouldn't be.

Here's some port numbers:
POP3 - port 110
IMAP - port 143
SMTP - port 25
HTTP - port 80
Secure SMTP (SSMTP) - port 465
Secure IMAP (IMAP4-SSL) - port 585
IMAP4 over SSL (IMAPS) - port 993
Secure POP3 (SSL-POP) - port 995

For IMAP, you should be using port 143, Avast will use the secure port of 993 when connecting to GMAIL, then hand it off to your email client with standard port of 143.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 20, 2011, 08:50:25 PM
It seems that in some part of the problem I received help from the TB forum that don't know or consider that the antivirus take notice of the account configuration and repeat in the own.

But what I really don't undertand is why Avast! is not able to modify the account according to his purpose.

Because the values present in the SSL Avast configuration don't need in the past my participation. And now with the accounts modified because of the problem I need to modify one by one all the gmail accounts.

And perhaps the live.com accounts and so on.



NOW I get what you're saying.  You'd rather not have to change the connection settings on each account.  Makes sense. Wonder if there is a script that can make the changes for you.

All I know is that if your email client connects securely to gmail, then avast won't be able to scan the mail.  Avast has to be the middle man and secure the connection itself, then pass the messages onto the client after scanning them.

I don't know what changed in the latest version or how you were able to scan secure connections with the older version of Avast, since I don't think the older versions worked with SSL connections for email either.

I suppose if you really wanted to (and I don't suggest this), you could install avast without the email scanner.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:51:06 PM
Ufff. Is not so easy for me.

Is it not more fast uninstall Avast and install again ?

Perhaps in that case Avast Reconfigures all accounts according to his needs.

Why Avast don't recognize my 48 accounts without reconfiguration ?

Why if need to take control of security don't establish a conversation with Thunderbird (TB) and no need for manual and tedious configurations ?

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: DavidR on June 20, 2011, 08:53:40 PM
It seems that in some part of the problem I received help from the TB forum that don't know or consider that the antivirus take notice of the account configuration and repeat in the own.

But what I really don't undertand is why Avast! is not able to modify the account according to his purpose.

Because the values present in the SSL Avast configuration don't need in the past my participation. And now with the accounts modified because of the problem I need to modify one by one all the gmail accounts.

And perhaps the live.com accounts and so on.

Avast won't modify 'your' email account settings, some people would get very annoyed if avast were to presume to change 'your' email accounts.

That is why when you still have SSl/TLS enabled in your email client avast does tell you in the error and that is why I have been asking fore the error text.

Uninstalling avast won't resolve your problem as it is in your email settings that 'you' have to change as we said, avast when reinstalled would just create what it already has done and your emai would fail as you still have it on SSL/TLS.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:56:39 PM
"Wonder if there is a script that can make the changes for you."

Nice idea. i can try in the TB forum. But consider that an antivirus with this complexity is not contempled in the TB forum. They don't tell me about the pecularities of Avast or presume this as a need.

Perhaps they don't know about avast configuration. It's dangerous for a simple user make modifies over ini files, or advanced configurations.

I would ask for next version of Avast to be simplified all these problems.

Now I am ready to try and comment to have the email shield operating again after a good conversion.

In the gmail account configuration helps there is no indication about this peculiarity in the anvivirus. It's a fault.

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 08:59:56 PM
It seems that in some part of the problem I received help from the TB forum that don't know or consider that the antivirus take notice of the account configuration and repeat in the own.

But what I really don't undertand is why Avast! is not able to modify the account according to his purpose.

Because the values present in the SSL Avast configuration don't need in the past my participation. And now with the accounts modified because of the problem I need to modify one by one all the gmail accounts.

And perhaps the live.com accounts and so on.

Avast won't modify 'your' email account settings, some people would get very annoyed if avast were to presume to change 'your' email accounts.

That is why when you still have SSl/TLS enabled in your email client avast does tell you in the error and that is why I have been asking fore the error text.

Uninstalling avast won't resolve your problem as it is in your email settings that 'you' have to change as we said, avast when reinstalled would just create what it already has done and your emai would fail as you still have it on SSL/TLS.

Okis DavidR. I'll try my best modifying the accounts. And please be in contact with gmail tutorials about account configuration.

the message looking for smtp.gmail.com or similar are not referenced well in the web.
So Avast don't document this problem well. Gmail ignore the problem. TB ignore the problem too. Nobody knows nothing about this problem until now.

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 09:05:43 PM
I'll try to resume all above.

Special accounts configuration under antivirus Avast! v.6 :

1) If the number of account in the email client is numerous (about 50) edit the emailshield.ini
and modify the line
[MailScanner]
MaxConnections=0
to the value zero.
 
2) Avast need to control security.

In the normal account gmail IMAP configuration in Server Settings ---> Connection security must be set to "none"


P.D. In order to make a clear idea about the steps I would to know about the default port 993 when you indicate the port 143.

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Gopher John on June 20, 2011, 09:56:12 PM
I don't use gmail, but I though that it used IMAP and not SMTP ?

It uses either, you just have to enable them in the settings page.

I use either. Imap accounts and pop accounts. All accounts need an smtp server for outgoing messages.


Correct.  GMail supports POP3, IMAP, and SMTP.  SMTP is required for outgoing messages regardless of whether the email client user is using POP3 or IMAP to retrieve or read his messages.

Only with the GMail web interface is SMTP not required for outgoing messages.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 10:14:38 PM
Please. Exist a correct configuration of gmail accounts for Avast! presence ?

What port ?

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 20, 2011, 10:15:28 PM
A simple question :

If Avast control the SSL protocol or configuration when I turn off Avast will be impossible to send emails ?¿?¿?¿

Best Regards
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Pondus on June 20, 2011, 10:49:49 PM
Please. Exist a correct configuration of gmail accounts for Avast! presence ?

What port ?


http://forums.pcpitstop.com/index.php?/topic/185949-how-to-configure-the-new-avast-50-to-work-with-gmail/

and remeber that you must activate POP or IMAP in Gmail web settings
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: scythe944 on June 21, 2011, 03:56:33 PM
deleted.
Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 21, 2011, 08:01:55 PM
I have two doubts about this problem :

1) I use Thunderbird portable. Usually, in the same pc, I have several windows xp pro installations. By example : system ocium , system proofs .
In system proofs I usually don't have Avast and can be used to act over other partition from a paralel system.
¿ Will function the accounts configurated in TB portable in that case , without Avast! present?

2. A few moments ago I was taking screenshots of "before moment" to begin modifications over the TB accounts.
I need to send a message and try with the actual configuration. I obtained the message looking up smtp.gmail.com and the message not outgo.
Then I disable Avast! for ten minutes.
But the problem persists......

Here the screenshot :

(http://img803.imageshack.us/img803/8219/screenshot2106201118563.png) (http://img803.imageshack.us/i/screenshot2106201118563.png/)

I make several proofs. With goldmine opened (not the email client of Goldmine) or with Goldmine closed with no significant change.

I closed TB and reopen and retry. Same result.

In my past experience . Seem an intermitent problem and with time pass I can send the message doing nothing.



Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on June 21, 2011, 08:07:32 PM
As thing seems the problems with the number of accounts seems solved, but I have proposed the problem

LOOKING UP smtp.gmail.com with no answer.

Even I don't know if is a problem with Avast!.

I don't know where to find information about that message. And in TB forum they don't know exactly what is.

Until now seems that the gmail configuration or live account configuration may be wrong, but I don't see the message "looking up smtp.gmail.com" or "looking up smtp.live.com" well referenced.

Can you help me ?

I am in despair during about two months or more with this problem.

Title: Re: Looking up smtp.gmail.com or the socket was disconnected unexpectedly
Post by: Esgrimidor on July 02, 2011, 09:43:00 AM
Estoy cansado con este tema.
Tendré que tomar medidas espectaculares porque nadie sabe nada.
Y nadie ayuda.