Re: many domains to receive email for

Gustavo Rios <[email protected]> Mon, 2 Sep 2019 19:26:18 -0300
Newsgroups gmane.mail.qmail.general
Message-ID <CAPG=qkDXWHDwVATo=t8rrzw7mOtxu1Zjn4=8KgSf5_muDJBVwA@mail.gmail.com>
Thanks a lot.

One more doubt: what about "locals" file ? Does it have a program to
build a cdb database file ?

Thanks again

Em seg, 2 de set de 2019 =C3=A0s 19:21, Alan Post <[email protected]> escreveu:
>
> On Mon, Sep 02, 2019 at 06:51:13PM -0300, Gustavo Rios wrote:
> > i have the following scenario:
> >
> >                I have 100k domain to qmail to receive for.
> > Having the traditional way, it would scan a file configuration in a
> > linear search: it would be too slow.
> >
> > How do you handle a large set of domain to receive email for ?
> >
>
> You're correct that the rcpthosts file would be a linear scan, but
> qmail-smtpd also supports morercpthosts, converted to a cdb file
> via the qmail-newmrh command.  The manpage for qmail-smtpd offers:
>
>     Put your 50 most commonly used domains into rcpthosts, and the
>     rest into morercpthosts
>
> Is there a part of your problem not satisfied via use of the
> morercpthosts and the qmail-newmrh command?
>
> -A
> --
> Alan Post | Xen VPS hosting for the technically adept
> PO Box 61688 | Sunnyvale, CA 94088-1681 | https://prgmr.com/
> email: [email protected]



--=20
Pag Bem F=C3=A1cil Ltda
www.pagbemfacil.com.br