I manage a backup mail spooling server (secondary MX) for around 6800
domains. Until recently, I've been putting all the domains in
morercpthosts and then running qmail-newmrh to hash it in to the
morercpthosts.cdb...logic being that parsing a cdb is more efficient that a
6800 line text file. This has been working great for the last several
months.
Last night, I began noticing that Qmail was ignoring (some) entries in
morercpthosts.cdb and was returning the message about being listed as best
MX preference but the domain not being local. Using strings, I confirmed
that the domain having the error was in the cdb, as well as the plain text
morercpthosts.
Neither re-running qmail-newmrh, nor restarting qmail had any effect in
correcting this. I eventually had to just drop all 6800+ domains into the
rcpthost file. Things worked fine after that.
Is there a limit to how much can be put into morercpthosts? Is it a limit
of qmail-newmrh? Am I going to reach a limit to how many hosts I can put
into rcpthosts as well?
Any advice or assistance would be appreciated.
-CT