Joel Michael wrote:
>
> Hi,
> Something is eating at my morerctphosts file. Entries are randomly (it
> seems) disappearing. Has anyone seen anything like this before? Or
> anyone know of anything that could be doing this? I'm running qmail
> 1.03, vpopmail 4.8.9 and qmailadmin 0.30 on SuSE 6.4 (Linux kernel
> 2.2.13). If you need any more information about the setup, just ask.
I can give you insight into the vpopmail library processing that
affects morerctphosts file and it's associated morercpthosts.cdb
file.
The vpopmail library tries to encapsulate the following
processing:
"Rule of thumb for large sites: Put your 50 most
commonly used domains into rcpthosts, and the rest into
morercpthosts."
- from qmail-smtpd manual page
When vadddomain is run, it counts the entries in rcpthosts
file. If there are more than 20 it places the domain in
morercpthosts.
"You must run qmail-newmrh whenever
morercpthosts changes."
- from qmail-smtpd manual page
The above processing is also encapsulated into the vpopmail
library. So when vadddomain modifies morercpthosts it also
execs qmail-newmrh.
The reverse is true of vdeldomain call. It will remove the
domain from rcpthosts or morercpthosts. If it removes it
from morercpthosts it will exec qmail-newrh.
I'm not sure how the above information fits into the
problem you are observing.
One thing I have noticed with vpopmail and the files.
It is possible to confuse vpopmail library with strange
entries in these files. If it's a new system, you might
get by with cleaning out all the files and starting fresh.
Ken Jones