Re: qmail cluster

Friedrich Locke <[email protected]> Sun, 13 Jan 2013 00:23:23 -0200
Newsgroups gmane.mail.qmail.ldap
Message-ID <CANMDHqcVihoiT9TAgRPDgG8GKGdzKf8TCoX=3se-Q=sjAZkZJQ@mail.gmail.com>
--f46d042dff517a09e204d32236ca
Content-Type: text/plain; charset=ISO-8859-1

Thanks Ismail,

let me see if i understood correctly!

For each domain, i set one single MX pointing to my domain.
Then add the mx record in my domain context for each of the mail server.

It will be one mx record pointing to my domain's mx record and n ( the
number of mail server) in my domain dns for each mail server, i.e. :

1k domain records + 5 mail servers record.

Right ?


On Sat, Jan 12, 2013 at 6:06 PM, Ismail YENIGUL
<[email protected]>wrote:

> Hi Friedrich,
>
> You do not have to setup 5 mx.  If you distribute users on qmail backends
> via mailhost entry on LDAP.
> Just create a A DNS record for each mailhost.  and define a MX record has
> 5 IP address.
>
> example dns settings for all domains:
> IN  MX mx.mymasterdomain.com
>
>
> mx IN A 192.168.1.1
> mx IN A 192.168.1.2
> mx IN A 192.168.1.3
> mx IN A 192.168.1.4
> mx IN A 192.168.1.5
>
> mail1 IN A 192.168.1.1
> mail2 IN A 192.168.1.2
> mail3 IN A 192.168.1.3
> mail4 IN A 192.168.1.4
> mail5 IN A 192.168.1.5
>
> Do you have any antispam gateway in front of the mail servers? If you
> have,some antispam gateway solutions have a feature to lookup
> mailhost entry on LDAP and directly forward email to correct mailhost.
>
> If you define all domain names in control/locals control/rcphosts, hosts
> will forward the mail to correct mailhost via QMQP protocol.
> This is the same for POP3/IMAP sessions.
>
> Thanks
>
>
> On 12.01.2013 17:31, Friedrich Locke wrote:
>
>> Hi.
>>
>> I am willing to try qmail+ldap. Some doubts arose!
>> The scenario would be:
>>
>> 1 ldap server,
>> 5 qmail servers,
>> 1K domain
>> 30K users.
>>
>> My doubt is the following:
>>
>> These 1k domain may be served by any of the 5 qmail server, ok? Will i
>> have to include 5 mx recorder for each of the 1k domain?
>> That will make 5k entries in my dns server, is that right ?
>>
>> thanks in advance.
>>
>
>

--f46d042dff517a09e204d32236ca
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks Ismail,<br><br>let me see if i understood correctly!<br><br>For each=
 domain, i set one single MX pointing to my domain.<br>Then add the mx reco=
rd in my domain context for each of the mail server.<br><br>It will be one =
mx record pointing to my domain&#39;s mx record and n ( the number of mail =
server) in my domain dns for each mail server, i.e. :<br>
<br>1k domain records + 5 mail servers record.<br><br>Right ?<br><br><br><d=
iv class=3D"gmail_quote">On Sat, Jan 12, 2013 at 6:06 PM, Ismail YENIGUL <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D=
"_blank">[email protected]</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi Friedrich,<br>
<br>
You do not have to setup 5 mx. =A0If you distribute users on qmail backends=
 via mailhost entry on LDAP.<br>
Just create a A DNS record for each mailhost. =A0and define a MX record has=
 5 IP address.<br>
<br>
example dns settings for all domains:<br>
IN =A0MX <a href=3D"http://mx.mymasterdomain.com" target=3D"_blank">mx.myma=
sterdomain.com</a><br>
<br>
<br>
mx IN A 192.168.1.1<br>
mx IN A 192.168.1.2<br>
mx IN A 192.168.1.3<br>
mx IN A 192.168.1.4<br>
mx IN A 192.168.1.5<br>
<br>
mail1 IN A 192.168.1.1<br>
mail2 IN A 192.168.1.2<br>
mail3 IN A 192.168.1.3<br>
mail4 IN A 192.168.1.4<br>
mail5 IN A 192.168.1.5<br>
<br>
Do you have any antispam gateway in front of the mail servers? If you have,=
some antispam gateway solutions have a feature to lookup<br>
mailhost entry on LDAP and directly forward email to correct mailhost.<br>
<br>
If you define all domain names in control/locals control/rcphosts, hosts wi=
ll forward the mail to correct mailhost via QMQP protocol.<br>
This is the same for POP3/IMAP sessions.<br>
<br>
Thanks<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On 12.01.2013 17:31, Friedrich Locke wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi.<br>
<br>
I am willing to try qmail+ldap. Some doubts arose!<br>
The scenario would be:<br>
<br>
1 ldap server,<br>
5 qmail servers,<br>
1K domain<br>
30K users.<br>
<br>
My doubt is the following:<br>
<br>
These 1k domain may be served by any of the 5 qmail server, ok? Will i have=
 to include 5 mx recorder for each of the 1k domain?<br>
That will make 5k entries in my dns server, is that right ?<br>
<br>
thanks in advance.<br>
</blockquote>
<br>
</div></div></blockquote></div><br>

--f46d042dff517a09e204d32236ca--