Re: [twsocket] SMTP connection limit

2007-03-09 Thread Veit Zimmermann
[EMAIL PROTECTED] wrote:
> Hello:
>> --- Original Message ---
>>From: Veit
> Zimmermann[mailto:[EMAIL PROTECTED]
>> Sent: 3/8/2007 6:42:03 AM
>> To  : twsocket@elists.org
>> Cc  : 
>> Subject : RE: [twsocket] SMTP connection limit
>>
>> Hi
>> 
>> Are there providers which limit the number of
>> concurrent SMTP
>> connections? In other words: Do I have to make the
>> maximum number
>> of connections for asynchronous operation flexible
>> and what would
>> be a good practice approach (besides making it user
>> configurable).
>> 
>> TIA
>> 
> 
>Most ISP's SMTP servers limit the amount of
> concurrent connections from the same source to about
> 10 or 20.  This is intended to prevent automatic
> spamming and mail bombing runs, or to at least hinder
> or limit their impact.  This is pretty much an
> industry standard nowadays (along with rejecting
> connections from dynamic IP addresses).
> 
>Making the limit configurable is a good idea, and
> I would suggest a default limit of no more than 20. 
> Like Arno said in his post, asynchroneous connections
> to the same server do not necessarily increase
> performance significantly so it shouldn't matter that
> much to the user.

Thanks, I will consider changing to one connection in a later
version. For now I have to live with user configuration.
Thanks also to Arno and Francois.
BTW: I used one of the SMTP examples as a guideline, which also
uses one connection per mail sending multiple mails at the same
time (if I didn't misunderstand the intention of the example).
Maybe it should be mentioned in the example that this is not the
preferred method.

Regards
-- 
*
* Dipl.-Ing. Veit Zimmermann [EMAIL PROTECTED] *
* VECTRONIC Aerospace GmbH  www.vectronic-aerospace.com *
* Carl-Scheele-Str. 12 tel: +49 (0)30 6789 4990 *
* D-12489 Berlin   fax: +49 (0)30 6789 5230 *
* Germany  WGS84: 52°25.83'N 13°31.52'E *
*
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SMTP connection limit

2007-03-08 Thread [EMAIL PROTECTED]
Hello:
   Most ISP's SMTP servers limit the amount of
concurrent connections from the same source to about
10 or 20.  This is intended to prevent automatic
spamming and mail bombing runs, or to at least hinder
or limit their impact.  This is pretty much an
industry standard nowadays (along with rejecting
connections from dynamic IP addresses).

   Making the limit configurable is a good idea, and
I would suggest a default limit of no more than 20. 
Like Arno said in his post, asynchroneous connections
to the same server do not necessarily increase
performance significantly so it shouldn't matter that
much to the user.

-dZ.


>--- Original Message ---
>From: Veit
Zimmermann[mailto:[EMAIL PROTECTED]
>Sent: 3/8/2007 6:42:03 AM
>To  : twsocket@elists.org
>Cc  : 
>Subject : RE: [twsocket] SMTP connection limit
>
 >Hi

Are there providers which limit the number of
concurrent SMTP
connections? In other words: Do I have to make the
maximum number
of connections for asynchronous operation flexible
and what would
be a good practice approach (besides making it user
configurable).

TIA


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SMTP connection limit

2007-03-08 Thread Francois PIETTE
> Are there providers which limit the number of concurrent SMTP
> connections? In other words: Do I have to make the maximum number
> of connections for asynchronous operation flexible and what would
> be a good practice approach (besides making it user configurable).

There is no limit imposed by the component. But the OS and of course the 
server will limit the number of concurrent connections.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] SMTP connection limit

2007-03-08 Thread Arno Garrels
Veit Zimmermann wrote:
> Hi
> 
> Are there providers which limit the number of concurrent SMTP
> connections? 

Most likely.

> In other words: Do I have to make the maximum number
> of connections for asynchronous operation flexible and what would
> be a good practice approach (besides making it user configurable).

I don't know how connections were rejected when the limit is reached.
I think that multiple connections to the same mail server do not improve
speed much. Probably the fastest method was sending multiple E-Mails in
a single session one after the other.

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


   
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] SMTP connection limit

2007-03-08 Thread Veit Zimmermann
Hi

Are there providers which limit the number of concurrent SMTP
connections? In other words: Do I have to make the maximum number
of connections for asynchronous operation flexible and what would
be a good practice approach (besides making it user configurable).

TIA
Veit
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be