Re: [vchkpw] Domains that both exist and don't exist

2002-09-20 Thread vol

This is not a problem so much with vpopmail, as a problem with the
migration
of information.  vpopmail takes care of managing qmail's configuration
files
as well as it's own, and therefore, various things must be modified for
a migration.

The most important files you will need to move over:
  /var/qmail/controls/*(obviously cant forget these)

  /var/qmail/users/assign  This file maps ownership to deliveries.  The
   userIDs and groupIDs must match the vpopmail:vchkpw
   UIDs/GIDs.

Last but not least, run /var/qmail/bin/qmail-newu to compile
/var/qmail/users/cdb

There's a variety of things that can cause problems during a migration. 
These
are the common ones more experienced users of vpopmail will come
across.  The
more basic ones are making sure .qmail-default exists under the domain's
directory,
and making sure your vpasswd file isnt corrupt, or that the vpasswd.cdb
file
is not out of date, broken, etc.

Ryan White wrote:
> 
> I am having a similar problem. I am moving domains to a new server and the
> new server says the domains do not exist. I am using mysql and the domain
> info is in the database. For some of the domains I ran vadddomain and the
> domains will start working. The problem is vadddomain overwrites the
> .qmail-default (and possibly other data). So my question is what is the
> proper way to migrate a vpopmail server and initialize the domains? Is there
> something that does vtouchdomain ;)
> 
> -Ryan
> 
> - Original Message -
> From: "Darren McClelland" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 20, 2002 11:56 AM
> Subject: [vchkpw] Domains that both exist and don't exist
> 
> > Hi,
> > I'm in the process of transferring a bunch of mail domains to a new server
> > and added a bunch of domains to the new server via vadddomain.
> > Something went wrong with some of them and now I have a bunch of domains
> that
> > vdeldomain says don't exist, and yet vadddomain says already exist and
> won't
> > delete. I would just reset vpopmail and qmail to graound zero, except that
> I
> > already have two domains that are already active on the new server and
> don't
> > want to mess them up.
> > This is vpopmail-5.2.1 with qmail.
> >
> > Any ideas?
> > Thanks,
> > Darren McClelland
> >

-- 
mailto:[EMAIL PROTECTED]
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices



Re: [vchkpw] Domains that both exist and don't exist

2002-09-20 Thread Ryan White

I am having a similar problem. I am moving domains to a new server and the
new server says the domains do not exist. I am using mysql and the domain
info is in the database. For some of the domains I ran vadddomain and the
domains will start working. The problem is vadddomain overwrites the
.qmail-default (and possibly other data). So my question is what is the
proper way to migrate a vpopmail server and initialize the domains? Is there
something that does vtouchdomain ;)

-Ryan

- Original Message -
From: "Darren McClelland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 11:56 AM
Subject: [vchkpw] Domains that both exist and don't exist


> Hi,
> I'm in the process of transferring a bunch of mail domains to a new server
> and added a bunch of domains to the new server via vadddomain.
> Something went wrong with some of them and now I have a bunch of domains
that
> vdeldomain says don't exist, and yet vadddomain says already exist and
won't
> delete. I would just reset vpopmail and qmail to graound zero, except that
I
> already have two domains that are already active on the new server and
don't
> want to mess them up.
> This is vpopmail-5.2.1 with qmail.
>
> Any ideas?
> Thanks,
> Darren McClelland
>




Re: [vchkpw] Domains that both exist and don't exist

2002-09-20 Thread Justin R. Miller

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Said Darren McClelland on Fri, Sep 20, 2002 at 12:12:19PM -0700:

> I have been looking at them, and the domains in qestion are in the
> files in /var/qmail I can edit the text files to get rid of the
> domains in question, but they also appear to be in some of the binary
> files there. How do I get them back into shape?

If they are .cdb files, then do this:

cat  | tcprules  

- -- 
[!] Justin R. Miller <[EMAIL PROTECTED]>
Encrypted email preferred (key 0xC9C40C31)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9i3Zf94d6K8nEDDERAhwRAJ9C4cu5xHJjFa6QBFKU7V4rnQ7hvgCgkD/9
fjJO4WrDaGXT41XBcyvjT7g=
=RowE
-END PGP SIGNATURE-



Re: [vchkpw] Domains that both exist and don't exist

2002-09-20 Thread Darren McClelland

I have been looking at them, and the domains in qestion are in the files in 
/var/qmail I can edit the text files to get rid of the domains in question, 
but they also appear to be in some of the binary files there. How do I get 
them back into shape?
Darren



On Friday 20 September 2002 12:02, Justin R. Miller wrote:
> Said Darren McClelland on Fri, Sep 20, 2002 at 11:56:56AM -0700:
> > I'm in the process of transferring a bunch of mail domains to a new
> > server and added a bunch of domains to the new server via vadddomain.
> > Something went wrong with some of them and now I have a bunch of
> > domains that vdeldomain says don't exist, and yet vadddomain says
> > already exist and won't delete. I would just reset vpopmail and qmail
> > to graound zero, except that I already have two domains that are
> > already active on the new server and don't want to mess them up.  This
> > is vpopmail-5.2.1 with qmail.
>
> Check /var/qmail/users/assign, /var/qmail/control/rcpthosts,
> /var/qmail/control/morercpthosts, and stuff in
> /usr/local/vpopmail/domains (or wherever your vpopmail prefix is).  I
> think those are the main places where configurations are stored.



Re: [vchkpw] Domains that both exist and don't exist

2002-09-20 Thread Justin R. Miller

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Said Darren McClelland on Fri, Sep 20, 2002 at 11:56:56AM -0700:

> I'm in the process of transferring a bunch of mail domains to a new
> server and added a bunch of domains to the new server via vadddomain.
> Something went wrong with some of them and now I have a bunch of
> domains that vdeldomain says don't exist, and yet vadddomain says
> already exist and won't delete. I would just reset vpopmail and qmail
> to graound zero, except that I already have two domains that are
> already active on the new server and don't want to mess them up.  This
> is vpopmail-5.2.1 with qmail.

Check /var/qmail/users/assign, /var/qmail/control/rcpthosts,
/var/qmail/control/morercpthosts, and stuff in
/usr/local/vpopmail/domains (or wherever your vpopmail prefix is).  I
think those are the main places where configurations are stored. 

- -- 
[!] Justin R. Miller <[EMAIL PROTECTED]>
Encrypted email preferred (key 0xC9C40C31)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9i3Dh94d6K8nEDDERAosQAJ9JlTG98bVp6BQXT8rJALauXQlydQCfQM44
O7VzaUNk0CkTHK8/k2kkkus=
=UsE4
-END PGP SIGNATURE-