Author Topic: Can't send email through SMTP via TLS  (Read 9896 times)

0 Members and 1 Guest are viewing this topic.

Offline rdsu

  • Avast Evangelist
  • Poster
  • ***
  • Posts: 534
  • ...
Can't send email through SMTP via TLS
« on: February 07, 2006, 08:29:44 PM »
Hi,

With the default settings of the Internet Mail provider, I can't send email through SMTP via TLS.



I only can send if I disable the Outgoing scanning email of the IM provider.

I know that avast will not scan encrypted email, but this is normal?

Regards
« Last Edit: February 07, 2006, 08:35:52 PM by VaMPiRiC_CRoW »
Avast Free Antivirus: Web Shield & Home Network Security.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88170
  • No support PMs thanks
Re: Can't send email through SMTP via TLS
« Reply #1 on: February 07, 2006, 09:13:45 PM »
Well TLS isn't normal, it is the new secure email protocol replacing SSL, but I can't understand why avast doesn't just ignore it.

http://en.wikipedia.org/wiki/Transport_Layer_Security
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 23.9.6082 (build 23.9.8494.792) UI 1.0.781/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

MaDonna

  • Guest
Re: Can't send email through SMTP via TLS
« Reply #2 on: February 07, 2006, 09:49:07 PM »
I am having a problem sending email today, too. My error message says

SENDING MESSAGE ERROR

The message could not be sent because connecting to SMTP server smtp.comcast.net failed. The server may be unavailaable or is refusing SMTP connectiions. please verify that your SMTP server setting is correct and try again, or else contact your network administrator.

I am not on a network, and don't know if my problem is Thunderbird, Comcast or Avast. My comcast mail seems to be working fine, but not through TB. Is anyone else having a problem today?
Thanks......

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3868
  • Just an avast user
Re: Can't send email through SMTP via TLS
« Reply #3 on: February 07, 2006, 10:31:45 PM »
MaDonna,

your post really has nothing to do with the subject of this thread.  However, I have just checked and I have no probelm sending emails composed on Thunderbird, scanned by avast and sent through my comcast.net account.  It may really be the server supporting your comcast account is down - have you tried it via the Comcast web email access?

 
« Last Edit: February 07, 2006, 10:38:03 PM by alanrf »

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3868
  • Just an avast user
Re: Can't send email through SMTP via TLS
« Reply #4 on: February 07, 2006, 10:37:37 PM »
VaMPiRiC_CRoW,

I use TLS for the SMTP sending of mail on my Gmail account.  However, Gmail requires me to connect to port 587 for the TLS connection.  If I add that port to those scanned by the Internet Mail Scanner then I get exactly the same error popup as you are seeing. At least I can avoid the problem by not including that port in the Internet Mail  scanner.

Are you using TLS and non-TLS email accounts on the same outbound port (maybe 25)?

As to the reason for the error popup - I hope a member of the avast team will enlighten us.

 

MaDonna

  • Guest
Re: Can't send email through SMTP via TLS
« Reply #5 on: February 07, 2006, 10:56:56 PM »
SORRY!!! It seems I have a problem with this forum. I keep posting something on the wrong thread, etc. I have never had this problem before on a forum. Maybe some are too sensitive. I won't bother anyone anymore. :-[

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3868
  • Just an avast user
Re: Can't send email through SMTP via TLS
« Reply #6 on: February 07, 2006, 11:05:08 PM »
MaDonna,

seems you may be a little sensitive too - after all I did try to address your concern and suggest a next step - I did not intend to offend you. 

It just gets a little confusing for everyone reading the thread if two separate issues are trying to be solved.

I do not think that anyone is going to have a problem with you creating a new thread when you have a new issue to report - that's all. 

So, I hope that you will come back in a new thread if you need some more help with this problem.

Offline rdsu

  • Avast Evangelist
  • Poster
  • ***
  • Posts: 534
  • ...
Re: Can't send email through SMTP via TLS
« Reply #7 on: February 08, 2006, 01:08:57 AM »
alanrf,

here you have all the details:



Regards
Avast Free Antivirus: Web Shield & Home Network Security.

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3868
  • Just an avast user
Re: Can't send email through SMTP via TLS
« Reply #8 on: February 08, 2006, 12:12:43 PM »
I guess we will have to hope that vojtech will give us the words of wisdom from the avast team on how users of both TLS and non-TLS accounts needing to use port 25 for SMTP should proceed.

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11657
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re: Can't send email through SMTP via TLS
« Reply #9 on: February 08, 2006, 01:15:36 PM »
1. The Internet Mail provider does not support SSL/TLS.
2. There're basically 2 ways SSL/TLS is used:
    a. either the connection start immediately on the secure port (that avast does not monitor)
    b. or communication start on the standard port 25, and then the program tries to "upgrade" the connection to a secure one (using the STARTTLS command).


Case a. is simple - the Internet Mail provider simply ignores the port. Case b. is more tricky, because the Internet Mail provider filter will not allow the STARTTLS command to succeed.

So, you either need to disable outbound mail scanning or not enfore the use of TLS.


Thanks
Vlk
If at first you don't succeed, then skydiving's not for you.

Offline rdsu

  • Avast Evangelist
  • Poster
  • ***
  • Posts: 534
  • ...
Re: Can't send email through SMTP via TLS
« Reply #10 on: February 08, 2006, 01:18:21 PM »
Thanks for the info, Vlk ;)
Avast Free Antivirus: Web Shield & Home Network Security.

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3868
  • Just an avast user
Re: Can't send email through SMTP via TLS
« Reply #11 on: February 08, 2006, 01:24:53 PM »
If we consider a similar situation with http vs https avast simply gracefully gets out of the way when https is used.

As more mail systems move toward secured links can we expect avast to act in a similar fashion with those secured email connections and not interrupt the process as it is doing now?

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3868
  • Just an avast user
Re: Can't send email through SMTP via TLS
« Reply #12 on: February 08, 2006, 01:51:39 PM »
VaMPiRiC_CRoW,

I have not done all the necessary research but a casual scan suggests that Stunnel may be a possible solution to allow a TLS connection to be used for SMTP and still work with avast scanning. 

I'm not sure if it will work with a mix of non-TLS accounts and TLS accounts using port 25 (and I do not know if that a requirement for you).  The expert in this forum on Stunnel is SDED - I don't know if he will spot this thread and give us the benefit of his knowledge.

If I find any more info I will report back.

Gibarian

  • Guest
Re: Can't send email through SMTP via TLS
« Reply #13 on: February 08, 2006, 01:58:15 PM »
I had the same problem described by MaDonna with Avast! and Thunderbird 1.5... The temporary solution for me was to deactivate the scanning of all outbound mail... Nevertheless, I would like to know a less radical answer to this issue...

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88170
  • No support PMs thanks
Re: Can't send email through SMTP via TLS
« Reply #14 on: February 08, 2006, 02:21:35 PM »
Yes, but the problem described by MaDonna is not the same as this issue (which was mentioned), the use of TLS (secure) email using the regular SMTP port that avast intercepts and because it is secure can't scan it.

So this is likely to be somewhat longer than a temporary situation, as even if avast started working on this today would probably take a little time. So it needs a more permanent workaround, like either not using TLS (medium to long term option) or having a third party tool such as Stunnel act as an interface to allow avast to scan the email before sending as TLS email (long term possibly permanent). However, that option has to be tested as Alan mentioned with a mix of different non-TLS accounts and TLS accounts using port 25.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 23.9.6082 (build 23.9.8494.792) UI 1.0.781/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security