Bluehost.com Web Hosting $6.95

Re: [courier-users] MX randomizing: trying to understand

This is a discussion on Re: [courier-users] MX randomizing: trying to understand within the Courier-Imap forums, part of the Mail Servers and Related category; Sam Varshavchik wrote: > Rodrigo Severo writes: > >> Let's see this example: >> >> 10 ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-24-2005
Rodrigo Severo
 
Posts: n/a
Default Re: [courier-users] MX randomizing: trying to understand

Sam Varshavchik wrote:

> Rodrigo Severo writes:
>
>> Let's see this example:
>>
>> 10 brsmtp02.br.abnamro.com
>> 10 brsmtp04.br.abnamro.com
>> 15 naxpf001.abnamro.com
>> 15 naxpf002.abnamro.com
>> 15 naxpf003.abnamro.com
>> 15 naxpf011.abnamro.com
>> 15 naxpf012.abnamro.com
>> 15 naxpf013.abnamro.com
>> 30 plum03ap.abnamro.com
>> 30 walnut001ap.abnamro.com
>>
>> In this case brsmtp02.br.abnamro.com has 9 out of 10 chances of being
>> contacted and brsmtp04.br.abnamro.com have the remaining 1 out of 10

>
>
> No.
>
> The MX records are always sorted according to their priority.


Ok.

>
> brsmtp02 will be contacted 50% of the time, with brsmtp04 taking the
> other 50%.


Being dependent on the way bind randomizes it's answers the distribution
won't have anything near a 50/50 distribution, I'm afraid.

Let me explain why. The way bind randomizes it's answers, only 10
different answers are possible:

Answer 1)
10 brsmtp02.br.abnamro.com
10 brsmtp04.br.abnamro.com
15 naxpf001.abnamro.com
15 naxpf002.abnamro.com
15 naxpf003.abnamro.com
15 naxpf011.abnamro.com
15 naxpf012.abnamro.com
15 naxpf013.abnamro.com
30 plum03ap.abnamro.com
30 walnut001ap.abnamro.com

Answer 2)
10 brsmtp04.br.abnamro.com
15 naxpf001.abnamro.com
15 naxpf002.abnamro.com
15 naxpf003.abnamro.com
15 naxpf011.abnamro.com
15 naxpf012.abnamro.com
15 naxpf013.abnamro.com
30 plum03ap.abnamro.com
30 walnut001ap.abnamro.com
10 brsmtp02.br.abnamro.com

Answer 3)
15 naxpf001.abnamro.com
15 naxpf002.abnamro.com
15 naxpf003.abnamro.com
15 naxpf011.abnamro.com
15 naxpf012.abnamro.com
15 naxpf013.abnamro.com
30 plum03ap.abnamro.com
30 walnut001ap.abnamro.com
10 brsmtp02.br.abnamro.com
10 brsmtp04.br.abnamro.com

Answer 4)
15 naxpf002.abnamro.com
15 naxpf003.abnamro.com
15 naxpf011.abnamro.com
15 naxpf012.abnamro.com
15 naxpf013.abnamro.com
30 plum03ap.abnamro.com
30 walnut001ap.abnamro.com
10 brsmtp02.br.abnamro.com
10 brsmtp04.br.abnamro.com
15 naxpf001.abnamro.com

and so on.

Please notice that only answer 2 will make Courier contact
brsmtp04.br.abnamro.com. All other 9 will make Courier contact
brsmtp02.br.abnamro.com. Obviously I'm referring to temporary delivery
failures situations, not to failed connections.

This is why I'm saying Courier won't get a 50/50 distribution as
expected but 1/9. I hope this is clearer now.

This is why I believe something else should be done to, in this
situation for example, get nearer a 50/50 distribution of the MX Courier
tries to contact.

>
> Which one will be tried for a given connection attempts depends on the
> response from the DNS server.


This is already understood.


Rodrigo



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0