Support?

2001-06-25 Thread KEnet Webmaster

Greetings,

Im running into a couple problems, tho Im not sure if this list is the place
to take them.   Since my site is a hobby site offering free email, I dont
have the money to pay for support, although I think this is a Great product.

The problems are as follows.

./vadddomain  is causing a segmentation fault, the core, when dumped, looks
like this.






support? Second try

2001-06-25 Thread KEnet Webmaster

The core when dumped looks like this

Core was generated by `./vadddomain test.com
Program terminated with signal 11, Segmentation fault.
#0  0x400cd866 in ?? ()


Any ideas?  All the configure and install directions were follwoed to a tee.

The second problem is (and I was thrilled to see these functions in the
newest version) is that in the mailing list addition screen I have all the
options for the list Im creating.   However, when I hit add.. all that
happens is the qmailadmin goes to a blank screen and sits there.  The list
is never created.

Thanks to anyone who has anyinformation on t his.

Kil





Re: unable to 'adddomain'

2001-06-25 Thread KEnet Webmaster



I could be wrong about this, but that looks like a 
configuration error. It looks like the script is attempting to go to 
vpopmail/domains/ in the BIN directory, rather than going to 
/home/vpopmail/domains.

Someone please correct me if Im wrong, but I think 
you need to check the config on your install.

Klingonempire.net Webmaster


  - Original Message - 
  From: 
  Jonathan 
  Edwards 
  To: [EMAIL PROTECTED] 
  Sent: Monday, June 25, 2001 4:26 PM
  Subject: unable to 'adddomain'
  
  I just installed vpopmail and when I try to run 
  '/home/vpopmail/bin/vadddomain myvirtualdomain.com', I get the 
  message:
  
  Error: Unable to chdir to 
  vpopmail/domains/domain directory
  
  Sounds like a permissions issue to me, but I 
  think all of my permissions are correct. I haven't changed any of them, I just 
  followed the install directions.
  
  Here they are for ~/vpopmail
  
  drwxr-xr-x 9 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  ./drwxr-xr-x 5 root 
  root 4096 Jun 25 15:28 
  ../-rw-r--r-- 1 vpopmail 
  vchkpw 24 Jun 25 15:28 
  .bash_logout-rw-r--r-- 1 vpopmail 
  vchkpw 230 Jun 25 15:28 
  .bash_profile-rw-r--r-- 1 vpopmail 
  vchkpw 124 Jun 25 15:28 
  .bashrc-rw-r--r-- 1 vpopmail 
  vchkpw 3394 Jun 25 15:28 
  .screenrcdrwxr-xr-x 2 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  bin/drwxr-xr-x 4 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  doc/drwx-- 2 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  domains/drwxr-xr-x 2 vpopmail 
  vchkpw 4096 Jun 25 15:50 
  etc/drwxr-xr-x 2 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  include/drwxr-xr-x 2 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  lib/drwx-- 2 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  users/
  
  
  Here they are for ~/vpopmail/bin:
  drwxr-xr-x 2 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  ./drwxr-xr-x 9 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  ../-rwxr-xr-x 1 vpopmail 
  vchkpw 35168 Jun 25 15:52 
  clearopensmtp*-rwxr-xr-x 1 vpopmail 
  vchkpw 35680 Jun 25 15:52 
  vaddaliasdomain*-rwxr-xr-x 1 vpopmail 
  vchkpw 37312 Jun 25 15:52 
  vadddomain*-rwxr-xr-x 1 vpopmail 
  vchkpw 36160 Jun 25 15:52 
  vadduser*-rwxr-xr-x 1 vpopmail 
  vchkpw 38336 Jun 25 15:52 
  vchkpw*-rwxr-xr-x 1 vpopmail 
  vchkpw 38016 Jun 25 15:52 
  vconvert*-rwxr-xr-x 1 vpopmail 
  vchkpw 35264 Jun 25 15:52 
  vdeldomain*-rwxr-xr-x 1 vpopmail 
  vchkpw 42112 Jun 25 15:52 
  vdelivermail*-rwxr-xr-x 1 vpopmail 
  vchkpw 35328 Jun 25 15:52 
  vdeluser*-rwxr-xr-x 1 vpopmail 
  vchkpw 4740 Jun 25 15:52 
  vipmap*-rwxr-xr-x 1 vpopmail 
  vchkpw 34912 Jun 25 15:52 
  vmkpasswd*-rwxr-xr-x 1 vpopmail 
  vchkpw 37696 Jun 25 15:52 
  vmoduser*-rwxr-xr-x 1 vpopmail 
  vchkpw 35520 Jun 25 15:52 
  vpasswd*-rwxr-xr-x 1 vpopmail 
  vchkpw 37280 Jun 25 15:52 
  vpopbull*-rwxr-xr-x 1 vpopmail 
  vchkpw 35552 Jun 25 15:52 
  vsetuserquota*-rwxr-xr-x 1 vpopmail 
  vchkpw 37568 Jun 25 15:52 
vuserinfo*
  
  
  Here they are for 
/~vpopmail/domains:
  drwx-- 2 vpopmail 
  vchkpw 4096 Jun 25 15:52 
  ./drwxr-xr-x 9 vpopmail 
  vchkpw 4096 Jun 25 15:52 ../
  
  Any help would be greatly 
  appreciated!
  
  Jon
  


Re: Support?

2001-06-26 Thread KEnet Webmaster

Im looking at the 4.10 version of vpopmail.   What is mysql replication?
Does that mean that it uses the vpasswd file, but replicates the info to
mysql, or does it mean that it just makes more than one mysql table?


- Original Message -
From: Ken Jones [EMAIL PROTECTED]
To: KEnet Webmaster [EMAIL PROTECTED]
Sent: Tuesday, June 26, 2001 2:54 AM
Subject: Re: Support?


KEnet Webmaster wrote:

 Greetings,

 Im running into a couple problems, tho Im not sure if this list is the
place
 to take them.   Since my site is a hobby site offering free email, I dont
 have the money to pay for support, although I think this is a Great
product.

 The problems are as follows.

 ./vadddomain  is causing a segmentation fault, the core, when dumped,
looks
 like this.

You are running on debian?

are your qmail binaries in /var/qmail/bin
or are they in /usr/bin and /usr/sbin ?

Try testing 4.10.24 release.

Please let me know

Ken Jones
inter7





Re: Support?

2001-06-26 Thread KEnet Webmaster

Ok,

In installing v 4.10  I have run into the same problem as the other guy.
When trying to use one of the bin files to add/del a domain, I get Error:
Unable to chdir to vpopmail/domains/domain directory

I have not been able to find where the dir is specified.






Contiuing

2001-06-26 Thread KEnet Webmaster

Ok... Summary so far

OS: SuSe Linux 7.0 Kernel 2.2.18smp

Distr vpopmail 4.9.10

  Installs fine, config line is

./configure --enable-roaming-users=y --enable-relay-clear-minutes=20 --enabl
e-clear-passwd=n --enable-tcprules-prog=/usr/local/bin/tcprules --enable-cle
ar-passwd=y --enable-auth-logging=y --enable-mysql=y

Everything functions normally, except for adding in a new domain.  New
domains cause the program to seg fault

vpopmail@www:~/bin  ./vadddomain test.com
Please enter password for postmaster:
enter password again:
Segmentation fault

However, mysql conversion worked, and as far as I can tell users are able to
authenticate with the existing domain.


Distr: vpopmail 4.10.24

Compile and install works normally  Config line

./configure --enable-roaming-users=y --enable-relay-clear-minutes=20 --enabl
e-clear-passwd=n --enable-tcprules-prog=/usr/local/bin/tcprules --enable-cle
ar-passwd=y --enable-auth-logging=y --enable-mysql=y

mysql conversion of existing domain does not appear to work, and therefore
users cannot authenticate.  (did not try it without mysql)   Addition of new
domains causes a seg fault

vpopmail@www:~/bin  ./vadddomain test.com
Please enter password for postmaster:
enter password again:
Segmentation fault

Attempted deletion of old domains causes error: cannot chdir to
vpopmail/domains/domain dir

Allow relay of pop-auth users does not work in either case...  Error
returned is that domain is not in my rcpthosts

I will report what happens re: the mailing list creation as soon as I verify
I have all installed for that








More stuff

2001-06-27 Thread KEnet Webmaster

I will be replying to the previous queries re: support tonight.

In the meantime, here is a problem I have run into with sqwebmail being
setup.

e/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setquota_size':
/home/archives/vpopmail-4.9.10/vauth.c:363: undefined reference to
`mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_vpasswd_size':
/home/archives/vpopmail-4.9.10/vauth.c:404: undefined reference to
`mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getall_size':
/home/archives/vpopmail-4.9.10/vauth.c:445: undefined reference to
`mysql_free_result'
/home/archives/vpopmail-4.9.10/vauth.c:448: undefined reference to
`mysql_query'
/home/archives/vpopmail-4.9.10/vauth.c:453: undefined reference to
`mysql_use_result'
/home/archives/vpopmail-4.9.10/vauth.c:467: undefined reference to
`mysql_fetch_row'
/home/archives/vpopmail-4.9.10/vauth.c:479: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setpw_size':
/home/archives/vpopmail-4.9.10/vauth.c:547: undefined reference to
`mysql_query'
/home/archives/vpopmail-4.9.10/vauth.c:552: undefined reference to
`mysql_store_result'
/home/archives/vpopmail-4.9.10/vauth.c:553: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vopen_smtp_relay':





Re: Contiuing

2001-06-28 Thread KEnet Webmaster

Path to the qmail programs is  /var/qmail/bin/

path to tcprules is /usr/local/bin/




From: Ken Jones
Subject: Re: Contiuing
Date: Tue, 26 Jun 2001 06:30:32 -0700





What is the full path to  your qmail-newu qmail-newmrh qmail-inject
and tcprules programs?

Ken Jones

KEnet Webmaster wrote:

 Ok... Summary so far

 OS: SuSe Linux 7.0 Kernel 2.2.18smp

 Distr vpopmail 4.9.10

   Installs fine, config line is


./configure --enable-roaming-users=y --enable-relay-clear-minutes=20 --enabl

e-clear-passwd=n --enable-tcprules-prog=/usr/local/bin/tcprules --enable-cle
 ar-passwd=y --enable-auth-logging=y --enable-mysql=y

 Everything functions normally, except for adding in a new domain.  New
 domains cause the program to seg fault

 vpopmail@www:~/bin  ./vadddomain test.com
 Please enter password for postmaster:
 enter password again:
 Segmentation fault

 However, mysql conversion worked, and as far as I can tell users are able
to
 authenticate with the existing domain.

 Distr: vpopmail 4.10.24

 Compile and install works normally  Config line


./configure --enable-roaming-users=y --enable-relay-clear-minutes=20 --enabl

e-clear-passwd=n --enable-tcprules-prog=/usr/local/bin/tcprules --enable-cle
 ar-passwd=y --enable-auth-logging=y --enable-mysql=y

 mysql conversion of existing domain does not appear to work, and therefore
 users cannot authenticate.  (did not try it without mysql)   Addition of
new
 domains causes a seg fault

 vpopmail@www:~/bin  ./vadddomain test.com
 Please enter password for postmaster:
 enter password again:
 Segmentation fault

 Attempted deletion of old domains causes error: cannot chdir to
 vpopmail/domains/domain dir

 Allow relay of pop-auth users does not work in either case...  Error
 returned is that domain is not in my rcpthosts

 I will report what happens re: the mailing list creation as soon as I
verify
 I have all installed for that









mailing lists

2001-06-28 Thread KEnet Webmaster

Well, dont know how, but it seems that I got the mailing list creation to
work.  However, now the options in the creation page went from about 10
options down to 2 and it doesnt ask me for who the list owner is.  Ideas?

Also, How, or where do I set up web accessible archives for this

(if you couldnt tell by now, Im fairly new to qmail/ezmlm)






Re: mailing lists

2001-06-28 Thread KEnet Webmaster

Having read the site several times over already, I havent found anything
there definitive on how to set up web-accessible archives.  Although it does
make reference to them in regards to ezmlm-make

I suppose what Im looking for, is something that will tell me step by step
how to do it.  Intrestingly enough tho, I notice vchkpw@ is archived off
site.  :-)


- Original Message -
From: Kieran Barnes [EMAIL PROTECTED]
To: 'KEnet Webmaster' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, June 28, 2001 9:48 AM
Subject: RE: mailing lists


www.ezmlm.org will answer ANYTHING you want to know about ezmlm. Really.


--
Regards,

Kieran Barnes
Signum 1226 Ltd
Visit our website at http://www.1226.net
Phone: 01772 622889 || Fax: 01772 622558


 -Original Message-
 From: KEnet Webmaster [mailto:[EMAIL PROTECTED]]
 Sent: 28 June 2001 14:38
 To: [EMAIL PROTECTED]
 Subject: mailing lists


 Well, dont know how, but it seems that I got the mailing list
 creation to
 work.  However, now the options in the creation page went
 from about 10
 options down to 2 and it doesnt ask me for who the list owner
 is.  Ideas?

 Also, How, or where do I set up web accessible archives for this

 (if you couldnt tell by now, Im fairly new to qmail/ezmlm)








Re: virus scanning

2001-07-02 Thread KENet Webmaster

I need to find a Free virus scanner that I can use on the server, also,
where is this Qmail-Scanner


- Original Message -
From: Bjorn Nilsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 02, 2001 6:00 PM
Subject: RE: virus scanning


 Someone might find this useful.

 I use qmail-scanner and McAfee's Virusscan here's the script I use daily
as
 a cron job. It only downloads the update if it is new and email
notification
 is by crontab as it just prints to STDOUT.

 Requires Perl, LWP, tar and uvscan. Config is in the script.

 cheers,

 Bjorn Nilsen
 Manux Solutions Ltd



  -Original Message-
  From: Philip Wall [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, 3 July 2001 9:21 a.m.
  To: Bill Shupp
  Cc: Tim Janes; [EMAIL PROTECTED]
  Subject: Re: virus scanning
 
 
  I received several requests to post the perl script I use to update
  Sophos IDE files. Runs as a cron job on my system twice a week
  at 4 am.
  Requires Perl, LWP and Qmail
  Read the comments in the script before running it please.
 
  Philip Wall
 
 





Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support

2001-07-05 Thread KEnet Webmaster

Thats the exact same error I have been getting when I try to install
SQwebmail

Even after I did their suggestion of adding in the lmysqlclient line to one
of the files.

I think the referenced it to FAQ #28 or something

- Original Message -
From: alexus [EMAIL PROTECTED]
To: Sam Varshavchik [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 3:49 PM
Subject: sqwebmail w/ encyption feature + vpopmail w/ mysql support


 back to my original question

 i'd say there is a bug

 another thing is there is no #28 in my FAQ or FAQ the one on the web..

 someone posted a patch for that.. which i couldn't get to work (yet)

 although from #28 in FAQ that i never saw and someone's replay on my
 question
 i got this.. still didn't help

 please help

 -- old message --
 due to i use BASH as a shell i used
 export LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz

 and to verify it settings took effect

 su-2.05# echo $LIBS
 -L/usr/local/mysql/lib/mysql -lmysqlclient -lz
 su-2.05#

 then i did gmake
 and i end up on same thing (i think)

 Making all in authlib
 gmake[1]: Entering directory `/usr/local/src/sqwebmail-2.1.1/authlib'

gcc  -I/var/qmail/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/var/qmail/vpo
 pmail/lib  -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
 ../md5/libmd5.a ../sha1/libsha1.a -lvpopmail  -lm -lcrypt
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
 /usr/local/src/vpopmail-4.9.10/vauth.c:70: undefined reference to
 `mysql_init'
 /usr/local/src/vpopmail-4.9.10/vauth.c:73: undefined reference to
 `mysql_real_connect'
 /usr/local/src/vpopmail-4.9.10/vauth.c:75: undefined reference to
 `mysql_real_connect'
 /usr/local/src/vpopmail-4.9.10/vauth.c:81: undefined reference to
 `mysql_query'
 /usr/local/src/vpopmail-4.9.10/vauth.c:86: undefined reference to
 `mysql_store_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:87: undefined reference to
 `mysql_free_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:88: undefined reference to
 `mysql_select_db'
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_adddomain_size':
 /usr/local/src/vpopmail-4.9.10/vauth.c:121: undefined reference to
 `mysql_query'
 /usr/local/src/vpopmail-4.9.10/vauth.c:125: undefined reference to
 `mysql_store_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:126: undefined reference to
 `mysql_free_result'
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_adduser_size':
 /usr/local/src/vpopmail-4.9.10/vauth.c:186: undefined reference to
 `mysql_query'
 /usr/local/src/vpopmail-4.9.10/vauth.c:194: undefined reference to
 `mysql_error'
 /usr/local/src/vpopmail-4.9.10/vauth.c:189: undefined reference to
 `mysql_query'
 /usr/local/src/vpopmail-4.9.10/vauth.c:199: undefined reference to
 `mysql_store_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:200: undefined reference to
 `mysql_free_result'
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_getpw_size':
 /usr/local/src/vpopmail-4.9.10/vauth.c:240: undefined reference to
 `mysql_query'
 /usr/local/src/vpopmail-4.9.10/vauth.c:245: undefined reference to
 `mysql_store_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:250: undefined reference to
 `mysql_num_rows'
 /usr/local/src/vpopmail-4.9.10/vauth.c:260: undefined reference to
 `mysql_fetch_row'
 /usr/local/src/vpopmail-4.9.10/vauth.c:272: undefined reference to
 `mysql_free_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:269: undefined reference to
 `mysql_free_result'
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_deldomain_size':
 /usr/local/src/vpopmail-4.9.10/vauth.c:297: undefined reference to
 `mysql_query'
 /usr/local/src/vpopmail-4.9.10/vauth.c:300: undefined reference to
 `mysql_store_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:301: undefined reference to
 `mysql_free_result'
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_deluser_size':
 /usr/local/src/vpopmail-4.9.10/vauth.c:331: undefined reference to
 `mysql_query'
 /usr/local/src/vpopmail-4.9.10/vauth.c:335: undefined reference to
 `mysql_store_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:336: undefined reference to
 `mysql_free_result'
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_setquota_size':
 /usr/local/src/vpopmail-4.9.10/vauth.c:363: undefined reference to
 `mysql_query'
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_vpasswd_size':
 /usr/local/src/vpopmail-4.9.10/vauth.c:404: undefined reference to
 `mysql_query'
 /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_getall_size':
 /usr/local/src/vpopmail-4.9.10/vauth.c:467: undefined reference to
 `mysql_fetch_row'
 /usr/local/src/vpopmail-4.9.10/vauth.c:479: undefined reference to
 `mysql_free_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:445: undefined reference to
 `mysql_free_result'
 /usr/local/src/vpopmail-4.9.10/vauth.c:448: undefined reference to
 `mysql_query'
 

Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support

2001-07-06 Thread KEnet Webmaster

I did it with all those little pesky / characters Ken...

Same errors

My libs are in
www:/home/archives/sqwebmail-2.1.1.20010620 # cd /usr/lib/mysql/
www:/usr/lib/mysql # ls
.  ..  libmysqlclient.a  libmysqlclient.la  libmysqlclient.so
www:/usr/lib/mysql #

Here is exactly what I put into the command line.

www:/home/archives/sqwebmail-2.1.1.20010620 # env
LIBS=-L/usr/lib/mysql -lmysqlclient -lz \
 ./configure --enable-webpass=vpopmail --without-authuserdb \

then I hit enter, the Configure works fine, I run MAKE and it runs for a
while, then hits vauth.o and I start getting the errors.
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_update':
/home/archives/vpopmail-4.10.24/vauth.c:102: undefined reference to
`mysql_init'
/home/archives/vpopmail-4.10.24/vauth.c:105: undefined reference to
`mysql_real_connect'
/home/archives/vpopmail-4.10.24/vauth.c:112: undefined reference to
`mysql_real_connect'
/home/archives/vpopmail-4.10.24/vauth.c:124: undefined reference to
`mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:132: undefined reference to
`mysql_store_result'
/home/archives/vpopmail-4.10.24/vauth.c:133: undefined reference to
`mysql_free_result'
/home/archives/vpopmail-4.10.24/vauth.c:136: undefined reference to
`mysql_select_db'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vauth_open_read_getall':
/home/archives/vpopmail-4.10.24/vauth.c:184: undefined reference to
`mysql_init'
/home/archives/vpopmail-4.10.24/vauth.c:185: undefined reference to
`mysql_real_connect'
/home/archives/vpopmail-4.10.24/vauth.c:189: undefined reference to
`mysql_real_connect'





- Original Message -
From: Ken Jones [EMAIL PROTECTED]
To: alexus [EMAIL PROTECTED]
Cc: KEnet Webmaster [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 10:39 AM
Subject: Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support



 I notice you missed the \ character in my example.
 This is a very important character. It tells the shell
 to continue the command on the next line.

 The way you did it:
 su-2.05# env LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz
 Is your first command

 Your second command was probably your configure line.
 ./configure blah blah


 Look again, very very closely at what I sent you.
 env LIBS=-L/usr/lib/mysql -lmysqlclient -lz \
 ./configure --enable-webpass=vpopmail --without-authuserdb \

 Notice those pesky \ characters.

 Ken Jones

 alexus wrote:
 
  grr
 
  i used --prefix=/usr/local/mysql when i was installing mysql and i did
  specify it while building vpopmail and vpopmail found everything and
it's
  working fine
 
  but even so i used env
 
  su-2.05# env LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz
  PWD=/usr/local/src/sqwebmail-2.1.1
  PAGER=more
  HOSTNAME=box.nexgen.com
  ENV=/home/alexus/.shrc
  BLOCKSIZE=K
  USER=alexus
  MACHTYPE=i386-unknown-freebsdelf4.3
  IRCNAME=http://www.alexus.org/
  MAIL=/var/mail/alexus
  EDITOR=vi
  DISPLAY=box.nexgen.com:16.0
  LOGNAME=alexus
  SHLVL=2
  SHELL=/usr/local/bin/bash
  HOSTTYPE=i386
  OSTYPE=freebsdelf4.3
  HOME=/root
  TERM=vt100
 
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6
  /bin
  SSH_TTY=/dev/ttypa
  _=/usr/bin/env
  OLDPWD=/usr/local/src
  LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz
  su-2.05#
 
  and once again i end up with
 
 
gcc  -I/var/qmail/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/var/qmail/vpo
  pmail/lib  -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
  ../md5/libmd5.a ../sha1/libsha1.a -lvpopmail  -lm -lcrypt
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vauth_open':
  /usr/local/src/vpopmail-4.9.10/vauth.c:70: undefined reference to
  `mysql_init'
  /usr/local/src/vpopmail-4.9.10/vauth.c:73: undefined reference to
  `mysql_real_connect'
  /usr/local/src/vpopmail-4.9.10/vauth.c:75: undefined reference to
  `mysql_real_connect'
  /usr/local/src/vpopmail-4.9.10/vauth.c:81: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:86: undefined reference to
  `mysql_store_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:87: undefined reference to
  `mysql_free_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:88: undefined reference to
  `mysql_select_db'
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
  `vauth_adddomain_size':
  /usr/local/src/vpopmail-4.9.10/vauth.c:121: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:125: undefined reference to
  `mysql_store_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:126: undefined reference to
  `mysql_free_result'
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
  `vauth_adduser_size':
  /usr/local/src/vpopmail-4.9.10/vauth.c:186: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:194: undefined reference to
  `mysql_error'
  /usr/local/src/vpopmail-4.9.10/vauth.c:189: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:199

Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support

2001-07-06 Thread KEnet Webmaster

Oh, Just to note

Im running SuSe Linux v 7.0 with Kernel 2.2.18smp


- Original Message -
From: Ken Jones [EMAIL PROTECTED]
To: alexus [EMAIL PROTECTED]
Cc: KEnet Webmaster [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 10:39 AM
Subject: Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support



 I notice you missed the \ character in my example.
 This is a very important character. It tells the shell
 to continue the command on the next line.

 The way you did it:
 su-2.05# env LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz
 Is your first command

 Your second command was probably your configure line.
 ./configure blah blah


 Look again, very very closely at what I sent you.
 env LIBS=-L/usr/lib/mysql -lmysqlclient -lz \
 ./configure --enable-webpass=vpopmail --without-authuserdb \

 Notice those pesky \ characters.

 Ken Jones

 alexus wrote:
 
  grr
 
  i used --prefix=/usr/local/mysql when i was installing mysql and i did
  specify it while building vpopmail and vpopmail found everything and
it's
  working fine
 
  but even so i used env
 
  su-2.05# env LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz
  PWD=/usr/local/src/sqwebmail-2.1.1
  PAGER=more
  HOSTNAME=box.nexgen.com
  ENV=/home/alexus/.shrc
  BLOCKSIZE=K
  USER=alexus
  MACHTYPE=i386-unknown-freebsdelf4.3
  IRCNAME=http://www.alexus.org/
  MAIL=/var/mail/alexus
  EDITOR=vi
  DISPLAY=box.nexgen.com:16.0
  LOGNAME=alexus
  SHLVL=2
  SHELL=/usr/local/bin/bash
  HOSTTYPE=i386
  OSTYPE=freebsdelf4.3
  HOME=/root
  TERM=vt100
 
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6
  /bin
  SSH_TTY=/dev/ttypa
  _=/usr/bin/env
  OLDPWD=/usr/local/src
  LIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz
  su-2.05#
 
  and once again i end up with
 
 
gcc  -I/var/qmail/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/var/qmail/vpo
  pmail/lib  -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
  ../md5/libmd5.a ../sha1/libsha1.a -lvpopmail  -lm -lcrypt
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vauth_open':
  /usr/local/src/vpopmail-4.9.10/vauth.c:70: undefined reference to
  `mysql_init'
  /usr/local/src/vpopmail-4.9.10/vauth.c:73: undefined reference to
  `mysql_real_connect'
  /usr/local/src/vpopmail-4.9.10/vauth.c:75: undefined reference to
  `mysql_real_connect'
  /usr/local/src/vpopmail-4.9.10/vauth.c:81: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:86: undefined reference to
  `mysql_store_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:87: undefined reference to
  `mysql_free_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:88: undefined reference to
  `mysql_select_db'
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
  `vauth_adddomain_size':
  /usr/local/src/vpopmail-4.9.10/vauth.c:121: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:125: undefined reference to
  `mysql_store_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:126: undefined reference to
  `mysql_free_result'
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
  `vauth_adduser_size':
  /usr/local/src/vpopmail-4.9.10/vauth.c:186: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:194: undefined reference to
  `mysql_error'
  /usr/local/src/vpopmail-4.9.10/vauth.c:189: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:199: undefined reference to
  `mysql_store_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:200: undefined reference to
  `mysql_free_result'
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
  `vauth_getpw_size':
  /usr/local/src/vpopmail-4.9.10/vauth.c:240: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:245: undefined reference to
  `mysql_store_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:250: undefined reference to
  `mysql_num_rows'
  /usr/local/src/vpopmail-4.9.10/vauth.c:260: undefined reference to
  `mysql_fetch_row'
  /usr/local/src/vpopmail-4.9.10/vauth.c:272: undefined reference to
  `mysql_free_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:269: undefined reference to
  `mysql_free_result'
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
  `vauth_deldomain_size':
  /usr/local/src/vpopmail-4.9.10/vauth.c:297: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:300: undefined reference to
  `mysql_store_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:301: undefined reference to
  `mysql_free_result'
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
  `vauth_deluser_size':
  /usr/local/src/vpopmail-4.9.10/vauth.c:331: undefined reference to
  `mysql_query'
  /usr/local/src/vpopmail-4.9.10/vauth.c:335: undefined reference to
  `mysql_store_result'
  /usr/local/src/vpopmail-4.9.10/vauth.c:336: undefined reference to
  `mysql_free_result'
  /var/qmail/vpopmail/lib/libvpopmail.a(vauth.o): In function
  `vauth_setquota_size

Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support

2001-07-06 Thread KEnet Webmaster

Same error.

- Original Message -
From: Andrea Cerrito [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Ken Jones [EMAIL PROTECTED]; alexus [EMAIL PROTECTED]; KEnet
Webmaster [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 11:43 AM
Subject: R: sqwebmail w/ encyption feature + vpopmail w/ mysql support


 Hope it helps: try

 LDFLAGS= -L/usr/local/mysql/lib/mysql -lmysqlclient
 ./configure --blablabla
 ---
 Cordiali saluti / Best regards
 Andrea Cerrito
 ^^
 Net.Admin @ Centro MultiMediale di Terni S.p.A.
 P.zzale Bosco 3A
 05100 Terni IT
 Tel. +39 0744 5441330
 Fax. +39 0744 5441372

  -Messaggio originale-
  Da: KEnet Webmaster [mailto:[EMAIL PROTECTED]]
  Inviato: venerdì 6 luglio 2001 17.24
  A: Ken Jones; alexus
  Cc: [EMAIL PROTECTED]
  Oggetto: Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support
 
 
  Oh, Just to note
 
  Im running SuSe Linux v 7.0 with Kernel 2.2.18smp






Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support

2001-07-06 Thread KEnet Webmaster

:: Wonders why everyone keeps repeating the same answer ::

I dont mean to be ungrateful, but Im not stupid.   I have put the line in
properly, I have added it to the make file, I have followed FAQ 28 (which
wasnt too helpful) I have the following mysql packages installed.

- Original Message -
From: Andrea Cerrito [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Ken Jones [EMAIL PROTECTED]; KEnet Webmaster
[EMAIL PROTECTED]; alexus [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 12:36 PM
Subject: R: sqwebmail w/ encyption feature + vpopmail w/ mysql support


  nope.. didn't help:(

 Well, you have to change:

 LDFLAGS= -L/where/are/your/mysql/lib -lmysqlclient
./configure --blablabla

 All on the same line. To find /where/are/your/mysql/lib try

 # find / -name libmysqlclient.*





Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support

2001-07-06 Thread KEnet Webmaster

Tries again ---

 :: Wonders why everyone keeps repeating the same answer ::

 I dont mean to be ungrateful, but Im not stupid.   I have put the line in
 properly, I have added it to the make file, I have followed FAQ 28 (which
 wasnt too helpful) I have the following mysql packages installed.

Package Class Description
mysql-3.23.33
MySQL-shared-3.23.39
mysql-client-3.23.33
mysql-devel-3.23.33
ezmlm-idx-mysql-0.53.324
mysql-bench-3.23.33

I have been following what everyone has suggested from the first one.  Yet
everyone comes back with  Well you must not have done it right, cuz it
works for me   Which (since I work in the field) is a classic tech support
answer.

The fact of the matter is, that every option you guys have presented to me,
has failed to work.  I dont know how many different places I can but the LIB
and LDFLAGS lines, but apparently they are not working in the Makefile, or
the command line.   Any other ideas?






 - Original Message -
 From: Andrea Cerrito [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: Ken Jones [EMAIL PROTECTED]; KEnet Webmaster
 [EMAIL PROTECTED]; alexus [EMAIL PROTECTED]
 Sent: Friday, July 06, 2001 12:36 PM
 Subject: R: sqwebmail w/ encyption feature + vpopmail w/ mysql support


   nope.. didn't help:(
 
  Well, you have to change:
 
  LDFLAGS= -L/where/are/your/mysql/lib -lmysqlclient
 ./configure --blablabla
 
  All on the same line. To find /where/are/your/mysql/lib try
 
  # find / -name libmysqlclient.*






Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support

2001-07-06 Thread KEnet Webmaster

Attached is the List of errors as the system kicks them out.

Keep in mind, this is a MAKE run on sqwebmail

I dont know if it will help anyone or not. 


- Original Message - 
From: Marcus Williams [EMAIL PROTECTED]
To: KEnet Webmaster [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: alexus [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 12:30 PM
Subject: RE: sqwebmail w/ encyption feature + vpopmail w/ mysql support


 Okay since I'm now being copied on the messages after sending the
 request for slimming them down (and now I'm getting flamed for
 that... cheers RSS) how about this:
 
 (1) Go to your vpopmail source directory
 (2) using your fave editor, open Makefile
 (3) search for line starting 'LDFLAGS =' (dont look for the quotes) -
 it may have something after the equals sign (its around line 154 in my
 copy but probably not yours)
 (4) add '-L/path/to/your/mysql/lib/directory' to the end of the line
 (dont add the quotes)
 (5) search for the line starting 'LIBS =' (dont look for the quotes) -
 it may have something after the equals sign (its on the line below in
 my Makefile)
 (6) add '-lmysqlclient -lz' to the end of the line (dont add the
 quotes)
 (7) save the new Makefile and exit vi/your fave editor
 (8) run make again
 
 Not the best solution but it works for me.
 
 Marcus
 
 


gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/home/vpopmail/lib  -o 
authvchkpw  modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a 
-lvpopmail  -lm -lcrypt
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_update':
/home/archives/vpopmail-4.10.24/vauth.c:102: undefined reference to `mysql_init'
/home/archives/vpopmail-4.10.24/vauth.c:105: undefined reference to 
`mysql_real_connect'
/home/archives/vpopmail-4.10.24/vauth.c:112: undefined reference to 
`mysql_real_connect'
/home/archives/vpopmail-4.10.24/vauth.c:124: undefined reference to `mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:132: undefined reference to 
`mysql_store_result'
/home/archives/vpopmail-4.10.24/vauth.c:133: undefined reference to `mysql_free_result'
/home/archives/vpopmail-4.10.24/vauth.c:136: undefined reference to `mysql_select_db'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_read_getall':
/home/archives/vpopmail-4.10.24/vauth.c:184: undefined reference to `mysql_init'
/home/archives/vpopmail-4.10.24/vauth.c:185: undefined reference to 
`mysql_real_connect'
/home/archives/vpopmail-4.10.24/vauth.c:189: undefined reference to 
`mysql_real_connect'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adddomain':
/home/archives/vpopmail-4.10.24/vauth.c:217: undefined reference to `mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:223: undefined reference to 
`mysql_store_result'
/home/archives/vpopmail-4.10.24/vauth.c:224: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser':
/home/archives/vpopmail-4.10.24/vauth.c:286: undefined reference to `mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:291: undefined reference to 
`mysql_store_result'
/home/archives/vpopmail-4.10.24/vauth.c:292: undefined reference to `mysql_free_result'
/home/archives/vpopmail-4.10.24/vauth.c:287: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw':
/home/archives/vpopmail-4.10.24/vauth.c:336: undefined reference to `mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:341: undefined reference to 
`mysql_store_result'
/home/archives/vpopmail-4.10.24/vauth.c:346: undefined reference to `mysql_num_rows'
/home/archives/vpopmail-4.10.24/vauth.c:358: undefined reference to `mysql_fetch_row'
/home/archives/vpopmail-4.10.24/vauth.c:370: undefined reference to `mysql_free_result'
/home/archives/vpopmail-4.10.24/vauth.c:373: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deldomain':
/home/archives/vpopmail-4.10.24/vauth.c:394: undefined reference to `mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:397: undefined reference to 
`mysql_store_result'
/home/archives/vpopmail-4.10.24/vauth.c:398: undefined reference to `mysql_free_result'
/home/archives/vpopmail-4.10.24/vauth.c:403: undefined reference to `mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:406: undefined reference to 
`mysql_store_result'
/home/archives/vpopmail-4.10.24/vauth.c:407: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deluser':
/home/archives/vpopmail-4.10.24/vauth.c:439: undefined reference to `mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:442: undefined reference to 
`mysql_store_result'
/home/archives/vpopmail-4.10.24/vauth.c:443: undefined reference to `mysql_free_result'
/home/archives/vpopmail-4.10.24/vauth.c:449: undefined reference to `mysql_query'
/home/archives/vpopmail-4.10.24/vauth.c:452: undefined reference to 
`mysql_store_result'
/home/archives/vpopmail

Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support

2001-07-06 Thread KEnet Webmaster

Ok, finally, as I went down through my messages I found the line from
someone saying to put the entire command on one line.  I did so, it compiled
fine, and appears to be working

Alexus Dont forget to run
/usr/local/share/sqwebmail/libexec/authlib/authdaemond start   so that it
can authenticate the users

and put that in your start up script.

Everything on this end seems to be working fine now.   Thanks


- Original Message -
From: KEnet Webmaster [EMAIL PROTECTED]
To: Marcus Williams [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: alexus [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 1:40 PM
Subject: Re: sqwebmail w/ encyption feature + vpopmail w/ mysql support


 Attached is the List of errors as the system kicks them out.

 Keep in mind, this is a MAKE run on sqwebmail

 I dont know if it will help anyone or not.


 - Original Message -
 From: Marcus Williams [EMAIL PROTECTED]
 To: KEnet Webmaster [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Cc: alexus [EMAIL PROTECTED]
 Sent: Friday, July 06, 2001 12:30 PM
 Subject: RE: sqwebmail w/ encyption feature + vpopmail w/ mysql support


  Okay since I'm now being copied on the messages after sending the
  request for slimming them down (and now I'm getting flamed for
  that... cheers RSS) how about this:
 
  (1) Go to your vpopmail source directory
  (2) using your fave editor, open Makefile
  (3) search for line starting 'LDFLAGS =' (dont look for the quotes) -
  it may have something after the equals sign (its around line 154 in my
  copy but probably not yours)
  (4) add '-L/path/to/your/mysql/lib/directory' to the end of the line
  (dont add the quotes)
  (5) search for the line starting 'LIBS =' (dont look for the quotes) -
  it may have something after the equals sign (its on the line below in
  my Makefile)
  (6) add '-lmysqlclient -lz' to the end of the line (dont add the
  quotes)
  (7) save the new Makefile and exit vi/your fave editor
  (8) run make again
 
  Not the best solution but it works for me.
 
  Marcus
 
 





Re: hacked, need help restoring

2001-07-06 Thread KEnet Webmaster

Personally, I just redid the mail server.

total format.  I installed qmail, and vpopmail just like I had the first
time, then sat down in the bin directory of vpopmail and did ./vadddomain to
add the domains in. (even tho I keep getting a seq fault now)

After that was done, I went into the domains directory, deleted the domain
name directory, and then restored it from my backup.

Works like a charm

PS: The seq fault was happening fresh out of the install, and no one has
been able to give me a solution on it yet

- Original Message -
From: Jeff Gordon [EMAIL PROTECTED]
To: Chris Scheller [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 3:05 PM
Subject: Re: hacked, need help restoring


 On Fri, Jul 06, 2001 at 11:53:38AM -0700, Chris Scheller wrote:

   Is there any reasonable way to set things right from here?  Or is
the
   only sane option to re-create vpopmail domains, lists and users from
   scratch?

  one thought would be to not restore the ~/domains/ right away, but
  first readd the domains with the command line utils. this will put all
  your control files back in place. once this is done delete ~/domains/*
  and restore from your backup.

 Hmm; not bad -- the restore has been done but I could rename /domains
 and use it as sort of a roadmap for what needs to happen. Thanks for
 the spark of that idea. :-)

  else you could always just recreate the
  control files by hand, shouldn't be horribly difficult(notice i didn't
  say easy.)

 Right. :-)  I'm too new to feel confident that I know how to go about
 that -- the 'hacked' server had my first-ever installs of qmail,
 vpopmail, ezmlm-idx, qmailadmin, sqwebmail, and one other web-based
 thing I can't seem to remember the name of now -- not vmailmgr, not
 vmailadmin, but the same idea A newbie tried in the fire would
 describe my current level of expertise on this. :-)

 --

  -- Jeff --   http://www.wellnow.com

  There's nothing left in the world to prove.  All that's worth doing
   is to love one another, using whatever means are available to serve.





Re: Deferral on database failure

2001-07-09 Thread KEnet Webmaster

Actually that makes sense.

Right now, when you choose an authentication methode (ie mysql)  you are
stuck with that one.   I was thinking the other day myself, I wanted to use
Mysql because, as I understood the instructions, I could in the future add
in questions on the sqregister page like Password retrieval questions and
stuff like that to be stored in the database with their username.

I suddenly thought tho, while its unlikely that the mysql server will be
down, without the entire server being down, what would happen if for some
reason mysql stops functioning and cannot authenticate the users?   Well,
the users would suddenly find themselves without access to their mail.

I think its a marvelous idea to make it so that the mysql authentication can
be used, but in the event of a failure to authenticate from mysql, the
server will check the vpasswd file for the username and password as a back
up authentication.

This would of course require that the vadd  and vdel programs would have to
update the mysql database, AND the vpasswd files when a user is added or
removed.   Is not actually replication, but rather redundancy.  However, as
I am not a programmer, I dont know how hard it would be to have the programs
write to both the mysql DB and the vpasswd files.   Not to mention the
actualy vpopmail porgram having to have the code to understand that when it
gets a failed mysql authentication, to check the vpasswd file before denying
the user.


- Original Message -
From: Ken Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 10:57 AM
Subject: Re: Deferral on database failure



 Sounds like a disaster waiting to happen.
 Ever try to build a replicated database (which is kinda what
 you are talking about). The things you have to watch for
 are almost endless.

 But hey :) if you want to build it, test it, and then support
 it on the mailing list for the next two years, rock on!

 What problem are you trying to solve with having a cdb file?
 Lookup speed?

 Ken

 Troy Settle wrote:
 
  I don't know how expensive this would be, but what about building in a
cache
  mechinism?  Where vauth_getpw can update a cdb stored locally and use
that
  cdb in the event of a database failure.
 
  The mechnism would need to be able to add/remove/update records in the
cdb
  based on the contents of the sql database.
 
  --
Troy Settle
Pulaski Networks
540.994.4254
http://www.psknet.com
 
  ** -Original Message-
  ** From: inter7 [mailto:inter7]On Behalf Of Ken Jones
  ** Sent: Monday, July 09, 2001 10:00 AM
  ** To: Troy Settle
  ** Cc: [EMAIL PROTECTED]
  ** Subject: Re: Deferral on database failure
  **
  **
  ** Troy Settle wrote:
  ** 
  **  All,
  ** 
  **  In searching through the archives, I found this posting from Ken
last
  **  October:
  ** 
  **We are thinking to upgrade to the new version of Vpopmail
  ** because the
  **old one(currently installed vpopmail) has one critical bug in
the
  **current version we are using needs to be addressed is that mail
  **bounces when vdelivermail can't connect to MySQL for
  ** whatever reason
  **(usually because MySQL is down or busy).
  **  
  **   Hmm.. That's an interesting point. If vdelivermail can't retrieve
  **   a users information because it can't connect to the database, it
  **   should cause a deferral. I'll put that on the TODO list.
  ** 
  **  Has this been done?  I don't see it in the TODO list or
  ** Changelog (4.9.10).
  **  If not, what would it take to get it done?
  **
  ** No it has not been done. The error return code from
  ** the function in questino, vauth_getpw only returns
  ** NULL (for use not found) and a value (for a user found)
  ** There is no other error types. If we changed it to
  ** return a -1, for example, it may break other code.
  ** It could return an OutOfBand error, in a global
  ** error variable.
  **
  ** What would be the best way to do this?
  ** 1) Have vauth_getpw return -1 and review all the code
  **using vauth_getpw
  ** or
  ** 2) return an out of band error value?
  **
  ** Ken Jones
  **
  **





Re: sqwebmail w/ encryption feature | and yes i did read INSTALL/FAQ for sqwebmail and for vpopmail

2001-07-12 Thread KEnet Webmaster



Alexus, 

I had the same problem once I finally 
got it installed over here, but it was because I didnt run the program 
authdaemon.

When you ran the make install, it 
should have given you a line you n eeded to add into your start script for the 
machine. 


This is what mine told me. 


---You must 
now create the following cron job that runs atregular 
intervals:

su -c 
"/usr/local/share/sqwebmail/cleancache.pl" bin

---(note - 
your su command may use slightly different arguments)

You 
must now set up the following command to run at system boot:

/usr/local/share/sqwebmail/libexec/authlib/authdaemond 
startmake[3]: 
Leaving directory `/home/archives/sqwebmail-2.1.1.20010620'make[2]: Leaving 
directory `/home/archives/sqwebmail-2.1.1.20010620'make[1]: Leaving 
directory 
`/home/archives/sqwebmail-2.1.1.20010620'www:/home/archives/sqwebmail-2.1.1.20010620 
#


  - Original Message - 
  From: 
  alexus 
  To: Techzoo Lin 
  Cc: [EMAIL PROTECTED] ; Sam 
  Varshavchik ; Ken 
  Jones 
  Sent: Wednesday, July 11, 2001 10:22 
  AM
  Subject: Re: sqwebmail w/ encryption 
  feature | and yes i did read INSTALL/FAQ for sqwebmail and for vpopmail
  
  see and you were tellin me that hundreds 
  and thousand people was able to do it without no problems.. i'm geting simliar 
  emails every now and then...
  
  if you can't fix this in your source code 
  you should at least add this question in F.A.Q.
  
  as for Techzoo Lin, you should've tryed 
  to look in archive of mailing lits.. I assume thats where you got my 
  e-mail...
  
  try 
  
  LDFLAGS=" -L/usr/local/mysql/lib/mysql 
  -lmysqlclient" ./configure
  
  assuming that your mysql installed in 
  /usr/local/mysql, or change path to something else (where ever your mysql's 
  library is)
  
  although that helps to build sqwebmail 
  without those errors... sqwebmail doesn't work.. at least for me.. whenever i 
  put username and password (local or virtual) it gives me that 
  username/password is incorect
  
  anyone have any ideas on 
  that?
  
  i'm able to check my e-mail just fine 
  from other clients..
  
  - Original Message - 
  
From: 
Techzoo 
Lin 
To: [EMAIL PROTECTED] 
Sent: Wednesday, July 11, 2001 6:49 
AM
Subject: sqwebmail w/ encryption 
feature | and yes i did read INSTALL/FAQ for sqwebmail and for 
vpopmail

Hi alexus,
It seems I am facing the same problem with you now. And 
still cannot work.
I would like to know if you've already got it work 
now..
can you tell me how to make it???

Thank you in advance

techzoo


More Problems

2001-07-16 Thread KENet Webmaster

Ok, as far as I can tell, in order to the qmailadmin to function properly
with vpopmail, the apache server has to be running under the same
username/group as vpopmail.  That is vpopmail.vchkpw

So, having figure this out, I switched my apache server over to run under
the same username.group.  Unfortunately, this made another function of my
site have some problems, as it was running under the username webmaster

So I switched it back, because the ther function was more important than the
qmailadmin.

Ok.. So far so good.

Now I find out, that sqwebmail stopped authenticating users and the apache
error log shows
authdaemon: connect: Connection refused
authdaemon: connect: Connection refused

So i tried to set the webserver and its directories back over to the
vpopmail username, but sqwebmail is still not working correctly.

So I guess there is two questions

1) How do I get this one fixed.

2) How do I work it out, that the webserver can run under its own username,
but qmailadmin and sqwebmail still work correctly?






Re: Closing an account when a customer hasn't paid?

2001-07-24 Thread KENet Webmaster

I think he needs it to disable an entire domain tho.  not just a user.


- Original Message -
From: cbunnell [EMAIL PROTECTED]
To: Mike Rogers [EMAIL PROTECTED]; [EMAIL PROTECTED]; Jesper Hess
Nielsen [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 10:38 PM
Subject: Re: Closing an account when a customer hasn't paid?


 snip.

 All WAY too much work.  Use the power that vpopmail gives you.

 ns3:~ 4% /RAID/vpopmail/bin/vmoduser
 vmoduser: usage: [options] email_addr or domain (for the entire domain)
 options: -n (don't rebuild the vpasswd.cdb file)
  -u (set no dialup flag)
  -d (set no password changing flag)
  -p (set no pop access flag)
  -w (set no web mail access flag)
  -i (set no imap access flag)
  -b (set bounce mail flag)
  -r (set no external relay flag)
  -c comment (set the comment/gecos field)
  -x (clear all flags)


 vmoduser the user and set the -p flag.  Then they're email will continue
to
 queue up, but they can't POP in to get it until they pay up.  If they go
 delinquent long enough (see company policy) then vdeluser them!

 If they pay, vmoduser -x to reset them to be able to pop.

 Hope this helps.

 Chris Bunnell

 - Original Message -
 From: Mike Rogers [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; Jesper Hess Nielsen [EMAIL PROTECTED]
 Sent: Tuesday, July 24, 2001 12:21 PM
 Subject: Re: Closing an account when a customer hasn't paid?


  Easy methods:
 
  1.They don't get mail while not paying:
  1.remove the line from /var/qmail/control files.  it doesn't
 see
  it as local, but the passwords and existing usernames/messages exist.
  2.move the password file (or dump and delete the MySQL rows)
 for
  the domain.  Mail coming in will not be recieved and they will not be
able
  to authenticate.  Since they can't authenticate, they can't open a
relay.
  2.They DO get mail while not paying:
  1.simply backup the password file and make a simple awk or
sed
  script to change the password field to maybe 'haha' or something.  Of
  course, who knows what encrypted string that is, so unless they are
really
  ___REALLY___ lucky, they won't be able to login to get their mail.  They
  will however still receive mail [useful for 'payment is in the mail'-
you
  don't want your customers business failing because you lost their big
  contract and big client] and it will queue up on the server and be there
  when you do get paid.  When you get paid, copy the password file back
and
  you're set.  Be sure to run ./vmkpasswd after any changes if you use CDB
  files.  On SQL, this is easier, as you can just make an update where
  domain=domain.com password=haha or something like that.
 
  These are valid solutions.  THey make sense and work quite well.  Your
  alternate is to maybe place a file in the domain directory.  If it
exists,
  it should not allow anything to happen for the domain... this of course
  requires a code hack
 
  Cheers-  Hopefully good temporary solutions
  --
  Mike
 
 
  - Original Message -
  From: Jesper Hess Nielsen [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, July 23, 2001 3:52 PM
  Subject: Closing an account when a customer hasn't paid?
 
 
   Hi,
  
   Is there an easy way to close a domain temporarily, allowing me to
shut
  off
   all incoming and outgoing mail when a customer hasn't paid? - It would
 be
   cool if you could send a message to people when they log on via pop3
  saying
   Pay up or ship out :-)
  
   /Jesper
  
  
 







Re: Vivek Tuli

2001-07-25 Thread KENet Webmaster

WARNING:

In Case anyone does not KNOW.. The attachment on the EMAIL message just
received below is an infected Virus file.   Namely I believe the SirCam
virus thats going around right now.

DO NOT OPEN IT!


- Original Message -
From: [EMAIL PROTECTED]
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 1:17 AM
Subject: Vivek Tuli


Hi! How are you?

I send you this file in order to have your advice

See you later. Thanks












Re: Subject Lines

2001-08-26 Thread KENet Webmaster

I tend to agree with razak.

Mailing lists on the whole tend to include the listname in the subject.
While I dont sort my mail like that, I do like to know if a mail is from a
list or not..  Which is easily done with the subject tags.


- Original Message -
Sent: Sunday, August 26, 2001 6:11 AM


 Date: Sun, 26 Aug 2001 00:09:32 -0700 (PDT)
 Subject: =?iso-8859-1?Q?Re:_Prefix_Subject_ID_-_Suggestion?=
 From: =?iso-8859-1?Q?T.J._Drennan?= [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 In-Reply-To: [EMAIL PROTECTED]
 References: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 X-Mailer: SquirrelMail (version 1.2.0 [rc1])
 MIME-Version: 1.0
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 8bit


 I disagree. I don't the any mailing list software should be changing the
subject line
 or any message they process. If a user wishes to conveniently filter their
email they
 can use the to/cc address of the mailing list. There are also a number of
other
 header entries that the mailing list software places in the header that
could be
 used for filtering.

 -T.J.

  Using the same email address I subscribe to several mailing lists.  So,
in my
 email
  client software the posting emails sent to me are mixed in one folder
and this is
  make me difficult to quick identification.
  For quick identify I suggest adding prefix ID like as [vchkpw] -  at
subject line.
 
  thank you,
  Fahrizal Razak


 --
 *
 T.J. Drennan
 Software Engineer, Wireless Systems
Spectrum Signal Processing
 [EMAIL PROTECTED]
 *







Qmail-scanner install

2001-09-18 Thread KENet Webmaster

Greets,

Having problems getting the qmail scanner installed.  How do I apply that
qmailqueue patch to the system?






Re: Qmail-scanner install

2001-09-18 Thread KENet Webmaster

I realize that its applied to qmail.  I may not know everything about what
Im doing, but Im not stupid.  I asked on this list, because everyone is
talking about it, and I have yet to find any instructions on what to
actually do with it.  So far everything I find about it appears to be an
email message with the Diff output of the patch.

Nothing about what to do with it.

- Original Message -
From: Tren Blackburn [EMAIL PROTECTED]
To: 'KENet Webmaster' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, September 18, 2001 3:40 PM
Subject: RE: Qmail-scanner install


 The qmailqueue patch is applied to qmail, not to vpopmail.  Information
 is on the qmail.org site.

 Regards,

 Tren.

 -Original Message-
 From: KENet Webmaster [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 18, 2001 1:32 PM
 To: [EMAIL PROTECTED]
 Subject: Qmail-scanner install


 Greets,

 Having problems getting the qmail scanner installed.  How do I apply
 that qmailqueue patch to the system?









Vpopmail and Qmail Scanner

2001-09-19 Thread KENet Webmaster

Ok,

I finally got qmail scanner compiled and tests show it to be working,
however, Im  having a slight problem.

qmail-scanner-queue.pl is in the bin directory.  The install instructions
are for a qmail install in general.  Could someone who has successfully done
this show me what and which files I need to alter for qmail scanner to work
with the server and webamil

Thanks






Fw: Vpopmail and Qmail Scanner

2001-09-19 Thread KENet Webmaster

Just in case it didnt make it the first time (had some sending problems. )


 Ok,

 I finally got qmail scanner compiled and tests show it to be working,
 however, Im  having a slight problem.

 qmail-scanner-queue.pl is in the bin directory.  The install instructions
 are for a qmail install in general.  Could someone who has successfully
done
 this show me what and which files I need to alter for qmail scanner to
work
 with the server and webamil

 Thanks







SMTP Auth

2001-09-24 Thread KENet Webmaster

Greetings,

Well, I couldnt get POP to SMTP authentication to work.  I still havent
figured that out, and with the numerous times its been discussed on this
list, I havent seen a real good explanation of how to do it other than
RTFM  most the time.

Having read the manual forwards and backwards, and not figuring this out, I
decided to try to do the SMTP Auth instructions that were posted last week.
I downloaded the new qmail-smtpd.c file, did make setup check (which
compiles and installs I believe)  and made my run file look like this...

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE


exec /usr/local/bin/softlimit -m 600 \
 /usr/local/bin/tcpserver -H -R -v -p -x /home/vpopmail/etc/tcp.smtp.cdb \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd
/usr/local/bin/rblsmtpd -rrelays.mail-abuse.org /var/qmail/bin/qmail-smtpd
/home/vpopmail/bin/vchkpw /bin/true 21

Im still not sure if qmail-scanner is doing anything (no virus notifications
sent to me yet), but mail is going through.

Sooo... heres where I am at.  Im obviously still not good enough at this to
figure out the problem myself (or it wouldnt be a problem) so I need to
know.  What do I need to do to enable Roaming users support (Pop to SMTP)
O  SMTP-AUTH on the server so that my users can use the outbound server.
Personally, I would prefer the first.

Thanks





Feature?

2001-09-24 Thread KENet Webmaster

Just curious.

Is there any plans to add the function of automatic subscription of a new
user to a mailing list in vQregister program in the future.

I dont know if anyone else uses it, but I have a main mailing list that ALL
users should be on for announcements.  It would be nice and easy if they
register program would send the subscription onto the server when they
signup, like you can inside qmailadmin :-)

Let me know.. thanks





Assistance

2001-09-27 Thread KENet Webmaster

Greetings,

Well, I couldnt get POP to SMTP authentication to work.  I still havent
figured that out, and with the numerous times its been discussed on this
list, I havent seen a real good explanation of how to do it other than
RTFM  most the time.

Having read the manual forwards and backwards, and not figuring this out, I
decided to try to do the SMTP Auth instructions that were posted last week.
I downloaded the new qmail-smtpd.c file, did make setup check (which
compiles and installs I believe)  and made my run file look like this...

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE


exec /usr/local/bin/softlimit -m 600 \
 /usr/local/bin/tcpserver -H -R -v -p -x /home/vpopmail/etc/tcp.smtp.cdb \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd
/usr/local/bin/rblsmtpd -rrelays.mail-abuse.org /var/qmail/bin/qmail-smtpd
/home/vpopmail/bin/vchkpw /bin/true 21

Im still not sure if qmail-scanner is doing anything (no virus notifications
sent to me yet), but mail is going through.

Sooo... heres where I am at.  Im obviously still not good enough at this to
figure out the problem myself (or it wouldnt be a problem) so I need to
know.  What do I need to do to enable Roaming users support (Pop to SMTP)
O  SMTP-AUTH on the server so that my users can use the outbound server.
Personally, I would prefer the first.

Thanks