Author Topic: Problems sending mail with attachments  (Read 15877 times)

0 Members and 1 Guest are viewing this topic.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89286
  • No support PMs thanks
Re: Problems sending mail with attachments
« Reply #15 on: November 24, 2005, 10:06:17 PM »
Oops, I've either got to read further back or change these glasses ;D Ahh that reminds me I have got to pick up my new glasses tomorrow.

Alan, how does the SendInBlockingMode=1 tweak speed up the outbound transmisson of the message blocks by avast?
I assume this would be good for dial-up also?
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.5.6116 (build 24.5.9153.762) UI 1.0.808/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3870
  • Just an avast user
Re: Problems sending mail with attachments
« Reply #16 on: November 24, 2005, 10:27:47 PM »
Back in May another user (hgratt) noticed that he was not getting the optimum transmission of email on his very high speed connection.  The sending of his email (using the Mozilla mail client if I recall) was slower when being scanned by avast than when not.

I got interested and did some testing and found that with OE the difference with/without avast was very small but that using my mail client Thunderbird (also a Mozilla product) that the difference with/without was pronounced.  It seemed that the Mozilla products transmitted email much faster than OE or than avast itself. 

Vlk got interested and took a look at the code in avast and declared it old and not up to avast standards.  It was rewritten and was speeded up dramatically.

However to remove all delays between block sends and utilize high speed links optimally Vlk decided that the ini setting would be needed.  With that setting avast  monopolizes the system a bit more to get the message sent as fast as the upload link will allow.  Given the speed differences between dial up and the higher end of  some cable and dsl offerings I do not think this setting would do much for a dial up user.     

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89286
  • No support PMs thanks
Re: Problems sending mail with attachments
« Reply #17 on: November 24, 2005, 10:30:55 PM »
Thanks Alan for the clear explanation.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.5.6116 (build 24.5.9153.762) UI 1.0.808/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

lotsofjunk

  • Guest
Re: Problems sending mail with attachments
« Reply #18 on: November 25, 2005, 03:15:41 AM »
I made the following changes and the large attachment will now send with scanning outbound on.  I also added another large attachment and it worked also. 

Thanks for the help and great product.

First for avast:

edit the avast4.ini file in the avavast4\data folder.

In the [MailScanner] section add a line:

SendInBlockingMode=1

and save the file.

For Thunderbird timeout:

You can do this by creating (or adding to) a file called user.js in your Thunderbird profile folder.  Add the lines:

// Increase pop3 timeout:
user_pref("mail.pop3_response_timeout", 90);




Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3870
  • Just an avast user
Re: Problems sending mail with attachments
« Reply #19 on: November 25, 2005, 05:01:44 AM »
Good to hear that it seemed to help.

Thanks for the feedback and welcome to the avast forums.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89286
  • No support PMs thanks
Re: Problems sending mail with attachments
« Reply #20 on: November 25, 2005, 02:19:23 PM »
A belated welcome to the forums.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.5.6116 (build 24.5.9153.762) UI 1.0.808/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Problems sending mail with attachments
« Reply #21 on: November 25, 2005, 02:49:28 PM »
Edit the avast4.ini file in the avavast4\data folder.
In the [MailScanner] section add a line:
SendInBlockingMode=1
and save the file.

Can avast team confirm this new avast4.ini setting?
How 'large' should be the attachment to prevent scanning?
The best things in life are free.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89286
  • No support PMs thanks
Re: Problems sending mail with attachments
« Reply #22 on: November 25, 2005, 03:15:43 PM »
I'm not sure if the size is relevant (just that you are getting timeouts with some "large"attachments) as there could be other issues at work also which could have an effect, causing this with "smaller/medium" attachment sizes. The other points to consider as Alan mentioned it is really to help those with Thunderbird and using Fast/broadband connections.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.5.6116 (build 24.5.9153.762) UI 1.0.808/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3870
  • Just an avast user
Re: Problems sending mail with attachments
« Reply #23 on: November 25, 2005, 08:18:31 PM »
Tech,

you already included that ini setting in your sticky back when it was first discussed.

One extra point that that bothered me is cleared up.

The latest release of Thunderbird (currently 1.5 RC1), which is being used by lotsofjunk has changed its default connection timeout from 45 seconds to 60 seconds.  This explains the log posted showing a connection termination after one minute. 

David, doing the math on the log posted - the large file being sent had just about completed sending when Thunderbird terminated the connection.  So,  optimising the use of the uplink speed may have been enough, but even so there will still be a limit of what can be sent within the connection timeout of the client.

In a related piece of news the latest Thunderbird release also has the ability to modify the connection timeout in the interface.  For anyone serching for this at a later date:

Tools > Options > Advanced  .... under the General tab see the connection timeout  box (timeout value is in seconds).
« Last Edit: November 25, 2005, 10:22:49 PM by alanrf »

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89286
  • No support PMs thanks
Re: Problems sending mail with attachments
« Reply #24 on: November 25, 2005, 10:40:50 PM »
Thanks Alan, that latest piece of news about being able to use the interface to change the timeout setting will be a welcome relief for those using Thunderbird once it is released fully.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.5.6116 (build 24.5.9153.762) UI 1.0.808/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Problems sending mail with attachments
« Reply #25 on: November 25, 2005, 10:59:34 PM »
Tech, you already included that ini setting in your sticky back when it was first discussed.
Where? I can't find it...
The best things in life are free.

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3870
  • Just an avast user
Re: Problems sending mail with attachments
« Reply #26 on: November 25, 2005, 11:05:21 PM »

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Problems sending mail with attachments
« Reply #27 on: November 25, 2005, 11:14:13 PM »
Tech,

in your mail scanner section.

http://forum.avast.com/index.php?topic=1647.msg10267#msg10267

Oh... God...
The version in my computer is different from the one posted... I have to check all over again... Oh... hours...
The best things in life are free.