|--> Eric Shubert, le 04/08/2012 14:27, a dit : > On 08/04/2012 02:42 AM, Alessio Cecchi wrote: >> Yes could be, currently the only certain thing is that domains in >> rcpthosts+morercpthosts are more that domain in dir_control table and so >> the dom_89 row is "corrupted".
run /home/vpopmail/bin/vdominfo should add to dir_control missing domains dom_89 should be equal to (and so total rows -1) /home/vpopmail/bin/vdominfo |grep domain: | grep -v alias | wc -l if not, fix it manually > > So rather than me having to look it up, will you (or someone) post a CLI > command we can run to check this value? I'd like to see what various > people find. /home/vpopmail/bin/vdominfo |grep domain: | grep -v alias | wc -l cat /var/qmail/users/assign | grep -o ':.*:' | sort | uniq | wc -l must be equal /home/vpopmail/bin/vdominfo |grep domain: | wc -l cat /var/qmail/control/rcpthosts /var/qmail/control/morercpthosts | wc -l cat /var/qmail/control/virtualdomains | wc -l sed '$d' /var/qmail/users/assign | wc -l must be equal > > The next question then is what impact does that field have? Once we have > some idea of how wide spread the disparity is, we can as Matt on the > vpopmail list about how that field is used. If he's not responsive, > we'll need to take a look at the vpopmail code. > > Just off the top of my head, I'm wondering if it's used to determine > whether or not to use rcpthosts and/or more_rcpthosts files to add > domains. If that's the case, it probably doesn't have much if any impact. > no, vpopmail does count rcpthosts domains each time vadddomain is invoked (rcpthosts < 50 < morercpthosts) xaf --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
