Re: morercpthosts being eaten

2000-09-06 Thread Ken Jones

Joel Michael wrote:
 
 - Original Message -
 From: "Ken Jones" [EMAIL PROTECTED]
 To: "Joel Michael" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, September 06, 2000 9:27 AM
 Subject: Re: morercpthosts being eaten
 
  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
 
 Well, I've decided to write a perl script to check the contents of the
 virtual domain directory to what's in rcpthosts and morerctphosts, and
 call that from crontab every night.  If you want, I'll post it to you
 (and to the list if there's enough demand) for people to use for a
 sanity checking routine.

That would be great to add to the distribution.

Ken



morercpthosts being eaten

2000-09-05 Thread Joel Michael

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.

Regards
Joel Michael
System Administrator
http://www.diggy.com.au
Tel: +61 7 3367 3555 Fax: +61 7 3367 3544
mailto:[EMAIL PROTECTED]

__

This e-mail contains information that represents the views and
opinions of the author and therefore does not necessarily reflect
those of Diggy Internet Sevices.
If you have received this email in error, please forward back to
sender and then delete and destroy from your computer.
___






Re: morercpthosts being eaten

2000-09-05 Thread Ken Jones

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



Re: morercpthosts being eaten

2000-09-05 Thread Joel Michael

- Original Message -
From: "Ken Jones" [EMAIL PROTECTED]
To: "Joel Michael" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, September 06, 2000 9:27 AM
Subject: Re: morercpthosts being eaten


 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

Well, I've decided to write a perl script to check the contents of the
virtual domain directory to what's in rcpthosts and morerctphosts, and
call that from crontab every night.  If you want, I'll post it to you
(and to the list if there's enough demand) for people to use for a
sanity checking routine.