Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Viktor Dukhovni
On Mon, Jan 13, 2014 at 05:16:00PM +, Viktor Dukhovni wrote: > The more mathematically astute among you might guess that "0.63" > is close to the limiting ratio, and that the limit is the ever > common "1 - 1/e". So the least frequent host is used at least 63% > as often as the most frequent.

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Wietse Venema
Wietse Venema: > Tobias Gro?: > > Besides the lack of randomization in the mail client, there is > > another question: Should the mail client implement support for > > multiple MX or implicit MX (A when no MX is given) records when > > sending all traffic to smarthosts which are loadbalanced by DNS

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Wietse Venema
Tobias Gro?: > Besides the lack of randomization in the mail client, there is > another question: Should the mail client implement support for > multiple MX or implicit MX (A when no MX is given) records when > sending all traffic to smarthosts which are loadbalanced by DNS > regarding to the rfc 5

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Tobias Groß
Viktor Dukhovni schrieb: >On Mon, Jan 13, 2014 at 03:18:12PM +0100, Peer Heinlein wrote: > >> > We want to load balance mails from the intranet to the >> > postfix-relayserver-farm for outgoing traffic. >> > Can we abuse A-records to load-balance in the same way MX-records >> > have been desig

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Viktor Dukhovni
On Mon, Jan 13, 2014 at 03:18:12PM +0100, Peer Heinlein wrote: > > We want to load balance mails from the intranet to the > > postfix-relayserver-farm for outgoing traffic. > > Can we abuse A-records to load-balance in the same way MX-records > > have been designed? > > No, because in that case M

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Robert Schetterer
Am 13.01.2014 15:55, schrieb Bauer, Stefan (IZLBW Extern): > Hi List, > > thank you for confirming my opinions about DNS for load balancing. I share > your opinions. > > @Peer - your advice is to use MX records. I don't think, MX-records can be > used for relayservers. > > Our flow is: > >

Re: AW: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Seann
MX records only apply to the destination FQDN for the email. Spoofing the destined domain to force everything through the relays is not a good idea. Most load balancing of an outbound relay requires you to force or manually configure the relay in your mail programs, to point to the load balan

AW: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Bauer, Stefan (IZLBW Extern)
Hi List, thank you for confirming my opinions about DNS for load balancing. I share your opinions. @Peer - your advice is to use MX records. I don't think, MX-records can be used for relayservers. Our flow is: Client -> Exchange - > Relayserver -> t...@example.com I only see a use case fo

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Christian Tardif
DNS is not meant for that. At least, not the DNS itself. It is something that goes under another tool, called GSLB (Global Site Load Balancer). It will add/remove DNS records based on test availability. It is something that is widely used on the Internet. -- Christian Tardif Quoting "Bau

Re: AW: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Wietse Venema
Wietse: > Yes, if the sender is Postfix. Postfix will randomly select from > equal-preference IP addresses and IP protocols. This is intentional, > so that mail does not get stuck when one path is broken. See also my second response with pointers to relevant Postfix configuration parameters that c

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Patrick Ben Koetter
Stefan, * Bauer, Stefan (IZLBW Extern) : > We want to load balance mails from the intranet to the > postfix-relayserver-farm for outgoing traffic. > Can we abuse A-records to load-balance in the same way MX-records have been > designed? > > > A relay.example.com 192.168.0.1 >

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Peer Heinlein
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 13.01.2014 14:23, schrieb Bauer, Stefan (IZLBW Extern): Hi Stefan, > We want to load balance mails from the intranet to the postfix-relayserver-farm for outgoing traffic. > Can we abuse A-records to load-balance in the same way MX-records have been

AW: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Bauer, Stefan (IZLBW Extern)
-Ursprüngliche Nachricht- Von: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] Im Auftrag von Wietse Venema Yes, if the sender is Postfix. Postfix will randomly select from equal-preference IP addresses and IP protocols. This is intentional, so that mail does not

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Wietse Venema
Wietse Venema: > Bauer, Stefan (IZLBW Extern): > > Dear Developers/Users, > > > > We want to load balance mails from the intranet to the > > postfix-relayserver-farm for outgoing traffic. Can we abuse > > A-records to load-balance in the same way MX-records have been > > designed? > > Yes, if th

Re: basic understanding AA/MX-record load-balancing

2014-01-13 Thread Wietse Venema
Bauer, Stefan (IZLBW Extern): > Dear Developers/Users, > > We want to load balance mails from the intranet to the > postfix-relayserver-farm for outgoing traffic. Can we abuse > A-records to load-balance in the same way MX-records have been > designed? Yes, if the sender is Postfix. Postfix will

basic understanding AA/MX-record load-balancing

2014-01-13 Thread Bauer, Stefan (IZLBW Extern)
Dear Developers/Users, We want to load balance mails from the intranet to the postfix-relayserver-farm for outgoing traffic. Can we abuse A-records to load-balance in the same way MX-records have been designed? A relay.example.com 192.168.0.1 A relay.example.c