[vchkpw] Convert small site large site in MySQL

2003-09-07 Thread Steve Sobka
Is it possible to convert a Vpopmail 5.3.26a site running in MySQL from:

--enable-large-site=n
to/from
--enable-large-site=y

without manually moving data to/from the original/destination sql
table(s)?

I don't see much man on 'vconvert' answering this question.

Just a curiosity question...

Thanks,.

Steve Sobka
[EMAIL PROTECTED]





RE: [vchkpw] Help in vqsignup

2002-12-30 Thread Steve Sobka
May I suggest you try VQRegister rather than VQSignup.
The lastest version of VQRegister is 2.6, which is needed for Vpopmail
5.1.x or great (IIRC).

Also, if your looking at the Lions site as a demo, that's VQRegister.

Here's the steps to install just in case you need to see them.


1) Download VQRegister:
wget http://www.inter7.com/vqregister/vqregister-2.6.tar.gz

2) Decompress it:
tar -zxvpf vqregister-2.6.tar.gz

3) Enter Directory:
cd vqregister-2.6

4) Edit the vqregister.conf file to suit your configuration:

vi vqregister.conf

# NOTE: There are a few changes that need to be made, you will need to
read through the file.
# NOTE: When you edit the vqregister.conf file, you will need to put
your domains like:
# NOTE: (Each on a separate line)

AllowDomain test.com
AllowDomain test2.com
AllowDomain test.net

5) Edit the vqregister.email to suite your configuration (If you send a
welcome letter):

vi vqregister.email

6) Edit the badhosts file if you want to use it, (Must be turned on in
vqregister.conf):

vi badhosts

7) Edit the 'Makefile' file. This is the important step, if you do this
wrong it probably won't compile.

vi Makefile

# Edit the following Lines:

# Change to home directory of your vpopmail
VDIR = /home/vpopmail

# Name of your compiler (leave as is)
CC = gcc

# I left alone
BIN = vqregister

# Change to path of your MySQL include directory: (My RedHat 7.3 is
located at: /usr/include/mysql)
DEFS = -I$(VDIR)/include -I/usr/local/mysql/include

# I left alone
LINKDEFS =

# Change to path of your MySQL lib directory: (My RedHat 7.3 is located
at: /usr/lib/mysql)
LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/local/mysql/lib/mysql
-lmysqlclient
OBJS = main.o cgi.o template.o global.o misc.o config.o register.o
password.o \
   vpopmail.o db.o field.o badhosts.o

# Change to path of your Apache CGI Directory (Stock RedHat is 7.x is
/var/www/cgi-bin)
INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister

# Name of binary cgi to be created (vqregister.cgi)
INSTALL_BIN = vqregister.cgi

# Username of Vpopmail User
INSTALL_UID = vpopmail

# Group of Vpopmail User
INSTALL_GID = vchkpw

# End of changes to Makefile


8) Edit the webpages in the /html directory to suite your site.

9) Compile the entire thing by typing:

make
make install

10) Go check out your work!
http://www.yourdomain.com/cgi-bin/vqregister/vqregister.cgi



BTW, IF you need a copy of my vqregister or Makefile and my customized
HTML, let me know I will be happy to share it with you.
Hope this helped.

You can see what it looks like running at my website, I don't think it's
proper to advertise here, so email me if you would like the url.

Steve Sobka
[EMAIL PROTECTED]



-Original Message-
From: zafar rizvi [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 30, 2002 3:49 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Help in vqsignup


hello ppl
 i want to know information about vqsignup.
Modify the Makefile:

which make file i modify i can't understand.

modify the compile line 

in which compile file i write ???

so plz tell me how can i full configure it.

Bcz first two steps are very strange

thanks

zafar









Re: [vchkpw] Segmentation Fault

2002-12-26 Thread Steve Sobka
Hi Bill,

I've checked the contents of /var/qmail/users/assign and nothing seems
strange.

I've tried recompiling the assign file with /var/qmail/bin/qmail-newu and
I still get the segmentation fault.

I've also checked to make sure there's no strange white spaces in the
file, it works fine on the old server.

Any other suggestions on where I could look to trace what is going on when
I try to run vadddomain?

I've recompiled both Qmail and Vpopmail including another (non-patched)
version of Vpopmail and I still get the error.

Here's the directory permissions:

drwxr-xr-x2 root qmail4096 Dec 26 16:45 .
drwxr-xr-x   11 root qmail4096 Dec 22 12:47 ..
-rw-r--r--1 root qmail1292 Dec 24 15:46 assign
-rw-r--r--1 root root 3678 Dec 26 16:45 cdb


Steve Sobka
[EMAIL PROTECTED]



 The segmentation fault happens as follows:

 Check the contents of /var/qmail/users/assign.  It's likely that the
 problem is there.

 Regards,

 Bill Shupp









[vchkpw] Segmentation Fault

2002-12-22 Thread Steve Sobka
---   11 qmailq   qmail4096 Dec 15 12:11 queue
-rwxr-xr-x1 root qmail 215 Dec 15 12:14 rc
drwxr-xr-x6 root qmail4096 Dec 15 12:16 supervise
drwxr-xr-x2 root qmail4096 Dec 22 10:29 users

---


Thanks for any suggestions to fix this issue.

Steve Sobka
[EMAIL PROTECTED]