As Ken says, one way would be to run "clearopensmtp" if you have compiled
vpopmail with "--enable-roaming-users=yes". Otherwise, in the directory
that has your tcp.smtp file, just do
/path/to/tcprules tcp.cdb tcp.tmp < tcp.smtp
that will produce a cdb file by the name of tcp.cdb in that directory.
Faruque
At 05:36 PM 7/2/01 +0200, Ken Jones wrote:
> > Alex Hathaway wrote:
> >
> > Ok.. I had to update tcp.smtp with another relay allowed IP address
> > for our local offce... I thought tcp.smtp.cbd was dynamically made, so
> > I removed this file.. how on earth do you recreate it? Seems every
> > time I restart qmail this isn't re-created.
> >
> > *woof*
> > `Alex
>
>It isn't created for many reasons. If you have enable-roaming-users
>on, and a IP that isn't in open-smtp is added, it will re-build
>the file. You should create it once and it should stay there.
>If you have --enable-roaming-users=y on then you can run
>the /home/vpopmail/bin/clearopensmtp command and it will compile it.
>
>Otherwise, refer to qmail's FAQ on how to use tcprules
>
>Ken Jones