RE: Well, everything but pop seems to work...

2001-09-20 Thread Marcus Williams



 -Original Message-
 From: treme metre [mailto:[EMAIL PROTECTED]]
[snip]
 Where do I look to fix this.  I ps waux | grep v looking
 for vpop.. or
 vchkpw - not there.  And the /var/logs/qmail/pop3d logs are empty.
[snip]

fuser is your friend (assuming you have it on your system)

bart:~# fuser -u -n tcp 110
110/tcp:   188(root)  1965(root)  1966(vpopmail)

It'll tell you which process is using port 110 (the pop3 port) - it
doesnt have to be vpopmail like it is on my system.

Marcus

--
Marcus Williams - http://www.onq2.com
Quintic Ltd, 39 Newnham Rd, Cambridge, CB3 9EY




Pop server waits forever...

2001-09-20 Thread Ali Ertrk TRKER

Hi everbody,

I have a question for those who have some time to answer it. I installed
qmail and vpopmail on a Mandrake 7.1 system. Everything worked perfect
with cdb authentication but I then wanted to change it to mysql
authentication. I recompiled the source but unfortunately, when I want to
check e-mail, pop server gets the username and password and waits forever. I
think there is a problem in the connection between vchkpw and mysql server.

Any ideas?

Thanx
AET


Configuration form vpopmail:

--enable-roaming-users=y \
--enable-hardquota=1 \
--enable-ip-alias-domains=n \
--enable-relay-clear-minutes=360 \
--enable-mysql=y \
--enable-sqlincdir=/usr/include/mysql \
--enable-sqllibdir=/usr/lib/mysql \
--enable-ucspi-dir=/usr/local/bin \
--enable-tcpserver-file=/etc/tcp.smtp \
--enable-tcprules-prog=/usr/local/bin/ \
--enable-clear-passwd=y

I am using tcpserver with softlimit for pop:

#!/bin/sh
exec /usr/local/bin/softlimit -m 1500 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
foo.bar.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21










_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




$Home/Maildir qmail vpopmail

2001-09-20 Thread Oliver - GoodnGo.COM

Hello,

when I want to pop in my mailaccounts. My MUA delivered an error:  

'-ERR this user has no $HOME/Maildir'

What can I do?

How can I have to configure vpopmail, so that I can pop into my acccounts?

Is it better to use vpopmail al pop service? Or qmail-poop3d??
Please help me?
Oli




Re: $Home/Maildir qmail vpopmail

2001-09-20 Thread Alejandro Ortega Páez



On jue, 2001-09-20 at 13:44, Oliver - GoodnGo.COM wrote: Hello,
 
 when I want to pop in my mailaccounts. My MUA delivered an error:  
 
 '-ERR this user has no $HOME/Maildir'
 
 What can I do?
 
 How can I have to configure vpopmail, so that I can pop into my acccounts?
 
 Is it better to use vpopmail al pop service? Or qmail-poop3d??
 Please help me?
 Oli
 
 
Just create Maildir mailbox with (as the user logged in): /var/qmail/bin/maildirmake /home/user/Maildir.
But if you are using vpopmail, it's a good idea to create your own domain as virtual where
vpopmail is installed in. 

I hope this would help you, if not, someone of Inter7 masters would answer to you.

Bye!

Alejandro Ortega.



Re: Well, everything but pop seems to work...

2001-09-20 Thread Oliver - GoodnGo.COM

hello treme,

I´am full of despair.

How can I setup pop accounts with vpopmail, so that i can pop in?

Is it necessary to install the qmail-pop3d and  before?

Oli





vpopmail - Maildir

2001-09-20 Thread Oliver - GoodnGo.COM \(R\)


hello treme,

I´am full of despair.

How can I setup pop accounts with vpopmail, so that i can pop in?

Is it necessary to install the qmail-pop3d and  before?

Oli


BEGIN:VCARD
VERSION:2.1
N:GoodnGo.COM (R);Oliver -
FN:Oliver - GoodnGo.COM (R)
ORG:GoodnGo.COM;Gefü
TITLE:Geschäftsführung
NOTE:Jederzeit suchen wir Partner- und Affiliateprogramme
TEL;WORK;VOICE:0049 (0)89 54071102
TEL;HOME;VOICE:0049 (0)89 54072045
TEL;CELL;VOICE:0170 2781117
TEL;WORK;FAX:0049 (0)89 54071103
TEL;HOME;FAX:0049 (0)89 54072026
ADR;WORK:;1;Westendstrasse 20;München;Bayern;80339
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:1=0D=0AWestendstrasse 20=0D=0AM=FCnchen, Bayern 80339
URL;HOME:http://www.goodnsearch.com
URL;WORK:http://www.goodngo.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010920T120414Z
END:VCARD



Re: $Home/Maildir qmail vpopmail

2001-09-20 Thread Barry Hill

Hi,


In my qmail startup script I use the following to start the qmail pop server:

/usr/local/bin/tcpserver -RHO -v 0 pop3 /var/qmail/bin/qmail-popup \
 MY_FQDN /home/vpopmail/bin/vchkpw /batches/poplog \
 /var/qmail/bin/qmail-pop3d Maildir 21 | /var/qmail/bin/splogger \
 pop3d 2 


If you put it on one line, remove the \ at the line ends.
Replace MY_FQDN with your serve's fully qualified domain name.
poplog is the following (executable!) batch file, which logs your
pop retrievals. Not necessary but nice:


#!/bin/sh
newmail=`ls $PWD/Maildir/new/ | wc -l`
newmailbytes=`du -sb $PWD/Maildir/new/ | cut -f 1`
oldmail=`ls $PWD/Maildir/cur/ | wc -l`
oldmailbytes=`du -sb $PWD/Maildir/cur/ | cut -f 1`
USER=Username: `basename $PWD`
pushd .. 1/dev/null
DIR=`basename $PWD`
popd 1/dev/null

echo $USER@$DIR New mails:  $newmail ( $newmailbytes \
  Bytes); Old mails:  $oldmail  ( $oldmailbytes  Bytes) | \
 /var/qmail/bin/splogger pop3d 2

pop=$1; shift; exec $pop $@


Hope this helped.

Best regards,

 Barry


Thursday, September 20, 2001, 12:44:45 PM, you wrote:

OGC Hello,

OGC when I want to pop in my mailaccounts. My MUA delivered an error:  

OGC '-ERR this user has no $HOME/Maildir'

OGC What can I do?

OGC How can I have to configure vpopmail, so that I can pop into my acccounts?

OGC Is it better to use vpopmail al pop service? Or qmail-poop3d??
OGC Please help me?
OGC Oli




RE: $Home/Maildir qmail vpopmail

2001-09-20 Thread Marcus Williams

 -Original Message-
 Thursday, September 20, 2001, 12:44:45 PM, you wrote:
[snip]
 OGC when I want to pop in my mailaccounts. My MUA
 delivered an error:

 OGC '-ERR this user has no $HOME/Maildir'

 OGC What can I do?
[snip]

Make sure you're using the FULL USERNAME of user@domain in your
account settings. I often have users complain about this very error
message, and its _always_ because they havnt specified their username
correctly. Mind you, I have a working qmail/vpopmail installation.

So if your username is test and your virtual domain is test.com, use
the username [EMAIL PROTECTED] (you may need to replace '@' for '%')

Marcus

--
Marcus Williams - http://www.onq2.com
Quintic Ltd, 39 Newnham Rd, Cambridge, CB3 9EY




vpopmail 5.0 Final

2001-09-20 Thread Pedro Ortale Neto

Hello,

Whats up with the final version of vpopmail?

rgds,

Pedro Ortale Neto






Re: vpopmail - Maildir

2001-09-20 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Oliver,

Thursday, September 20, 2001, 2:04:14 PM, you wrote:


 How can I setup pop accounts with vpopmail, so that i can pop in?

 Is it necessary to install the qmail-pop3d and  before?

It is.


Best regards,
 Gabriel
6

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO6n8lsZa2WpymlDxAQE3Pwf9FtACx6BMlTREaqo7qITuzh846U5WXD0q
Np5OWaaiX4unKlH141HUzmJIuO1flRZgWNAbo2HHlKFg5RhPYVT6FdtfJHbL9Mu1
TS0xb02E7BtBFihQeuYxTGa9N1XLKM0CKPzYgOjVFGowl1MI/5kX0lM5AKnhvr9F
2vuZ9dBWGxUZ/Pxj3UB6STHBHVhgN1/i17nr6lXQP8e3bSFT+6otmqx0qGsfyav2
1AQCKVwwbT62ZE6gzTWQtYcKdZMfboMl/aC7YAG5z9xkedvT9nsYHGqabVsP89y1
o1ff60hglwX42VqLL3Ot+pyKNdYHyTvTrGU/tOM3VnOs754Ieh94+w==
=4Ena
-END PGP SIGNATURE-




vpasswd file

2001-09-20 Thread remo

I have a vpasswd file which accidently got deleted. I need to know on
how to remake it from the vpasswd.cdb file.
Thanks

REMO




I am confused regarding what current versions are

2001-09-20 Thread burrett

Roger wrote:

Hi All,

I am a little confused as to what are the latest versions that will work
properly together.

ie. is vpopmail ver 5-pre5 the latest working version and what works
with it

I need vpopmail, qmailadmin and sqwebmail

Thanks in advance

Regards
Roger




migrating vconvert

2001-09-20 Thread konsul

Hello everyone. i can't solve my old problem with halting
authorization via mysql and want to convert mysql base to cdb(?).
posiibly vconvert utilities useful for it, but one trouble. i run
vconvert as example:
vconvert -s -c
vconvert -s -c mydomain.com
vconvert -c -s
etc...
util always return the help message without any errors. i use last
development version of 4.x series. and now:
possibly better i must install last 5.0 version and try to convert
userbase with it? or any other things? please help, mailer work  very
unstable with mysql authorize :( and i have a lot of users, for manual
adding record for it.


-- 
Best regards,
 konsul  mailto:[EMAIL PROTECTED]





Urgent Help, please!

2001-09-20 Thread The Guyver

Hello there,
I'm in a desperate need to write a PHP script that creates a new mailbox
with vpopmail 4.10.35
I've written everything correctly but when I use exec or system I always end
up with this error:

Error: Unable to chdir to vpopmail/domains directory

please help me it's very urgent if anybody has a clue I'll appreciate so
much.

Guyver




RE: Urgent Help, please!

2001-09-20 Thread Sean O'Dea

The script probably needs to run setuid to the vpopmail user.

-Original Message-
From: The Guyver [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 11:30 AM
To: [EMAIL PROTECTED]
Subject: Urgent Help, please!


Hello there,
I'm in a desperate need to write a PHP script that creates a new mailbox
with vpopmail 4.10.35
I've written everything correctly but when I use exec or system I always end
up with this error:

Error: Unable to chdir to vpopmail/domains directory

please help me it's very urgent if anybody has a clue I'll appreciate so
much.

Guyver



RE: Urgent Help, please!

2001-09-20 Thread Tim Hunter

does your webserver user have rights to work in the vpopmail dirs?

 -Original Message-
 From: The Guyver [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 2:30 PM
 To: [EMAIL PROTECTED]
 Subject: Urgent Help, please!
 
 
 Hello there,
 I'm in a desperate need to write a PHP script that creates a new mailbox
 with vpopmail 4.10.35
 I've written everything correctly but when I use exec or system I 
 always end
 up with this error:
 
 Error: Unable to chdir to vpopmail/domains directory
 
 please help me it's very urgent if anybody has a clue I'll appreciate so
 much.
 
 Guyver
 
 



Re: Urgent Help, please!

2001-09-20 Thread The Guyver

How do I do it please??
Thanks again!

- Original Message -
From: Sean O'Dea [EMAIL PROTECTED]
To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 8:32 PM
Subject: RE: Urgent Help, please!


 The script probably needs to run setuid to the vpopmail user.

 -Original Message-
 From: The Guyver [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 11:30 AM
 To: [EMAIL PROTECTED]
 Subject: Urgent Help, please!


 Hello there,
 I'm in a desperate need to write a PHP script that creates a new mailbox
 with vpopmail 4.10.35
 I've written everything correctly but when I use exec or system I always
end
 up with this error:

 Error: Unable to chdir to vpopmail/domains directory

 please help me it's very urgent if anybody has a clue I'll appreciate so
 much.

 Guyver





RE: Urgent Help, please!

2001-09-20 Thread Tren Blackburn

RTFM.  http://www.apache.org is your friend.  

Regards,

Tren.

-Original Message-
From: The Guyver [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 12:37 PM
To: Sean O'Dea; [EMAIL PROTECTED]
Subject: Re: Urgent Help, please!


How do I do it please??
Thanks again!

- Original Message -
From: Sean O'Dea [EMAIL PROTECTED]
To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 8:32 PM
Subject: RE: Urgent Help, please!


 The script probably needs to run setuid to the vpopmail user.

 -Original Message-
 From: The Guyver [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 11:30 AM
 To: [EMAIL PROTECTED]
 Subject: Urgent Help, please!


 Hello there,
 I'm in a desperate need to write a PHP script that creates a new 
 mailbox with vpopmail 4.10.35 I've written everything correctly but 
 when I use exec or system I always
end
 up with this error:

 Error: Unable to chdir to vpopmail/domains directory

 please help me it's very urgent if anybody has a clue I'll appreciate 
 so much.

 Guyver






RE: Urgent Help, please!

2001-09-20 Thread Sean O'Dea

The script should be owned by vpopmail
chown vpopmail script
Set the script to run as vpopmail
chmod u+s script

That will allow the script to have the same permissions as vpopmail and it
should be able to write the the directory.

-Original Message-
From: The Guyver [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 11:37 AM
To: Sean O'Dea; [EMAIL PROTECTED]
Subject: Re: Urgent Help, please!


How do I do it please??
Thanks again!

- Original Message -
From: Sean O'Dea [EMAIL PROTECTED]
To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 8:32 PM
Subject: RE: Urgent Help, please!


 The script probably needs to run setuid to the vpopmail user.

 -Original Message-
 From: The Guyver [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 11:30 AM
 To: [EMAIL PROTECTED]
 Subject: Urgent Help, please!


 Hello there,
 I'm in a desperate need to write a PHP script that creates a new mailbox
 with vpopmail 4.10.35
 I've written everything correctly but when I use exec or system I always
end
 up with this error:

 Error: Unable to chdir to vpopmail/domains directory

 please help me it's very urgent if anybody has a clue I'll appreciate so
 much.

 Guyver




Re: Urgent Help, please!

2001-09-20 Thread The Guyver

Thanks again!!
 I'll try it, hope it works.

Best regards,
Guyver

- Original Message -
From: Sean O'Dea [EMAIL PROTECTED]
To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 8:37 PM
Subject: RE: Urgent Help, please!


 The script should be owned by vpopmail
 chown vpopmail script
 Set the script to run as vpopmail
 chmod u+s script

 That will allow the script to have the same permissions as vpopmail and it
 should be able to write the the directory.





RE: Urgent Help, please!

2001-09-20 Thread Tren Blackburn

Scripts cannot be suid.  At least on Linux and AIX and SCO they can't.
Can't speak for others.  You'd have to use some C program to call this,
or re-write it in C.

Regards,

Tren.

-Original Message-
From: Sean O'Dea [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 12:38 PM
To: 'The Guyver'; '[EMAIL PROTECTED]'
Subject: RE: Urgent Help, please!


The script should be owned by vpopmail
chown vpopmail script
Set the script to run as vpopmail
chmod u+s script

That will allow the script to have the same permissions as vpopmail and
it should be able to write the the directory.

-Original Message-
From: The Guyver [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 11:37 AM
To: Sean O'Dea; [EMAIL PROTECTED]
Subject: Re: Urgent Help, please!


How do I do it please??
Thanks again!

- Original Message -
From: Sean O'Dea [EMAIL PROTECTED]
To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 8:32 PM
Subject: RE: Urgent Help, please!


 The script probably needs to run setuid to the vpopmail user.

 -Original Message-
 From: The Guyver [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 11:30 AM
 To: [EMAIL PROTECTED]
 Subject: Urgent Help, please!


 Hello there,
 I'm in a desperate need to write a PHP script that creates a new 
 mailbox with vpopmail 4.10.35 I've written everything correctly but 
 when I use exec or system I always
end
 up with this error:

 Error: Unable to chdir to vpopmail/domains directory

 please help me it's very urgent if anybody has a clue I'll appreciate 
 so much.

 Guyver





Re: Urgent Help, please!

2001-09-20 Thread Sean C Truman

Why dont you just compile the vpopmail in PHP and do the calls from PHP
iteself.

Sean
- Original Message -
From: Tren Blackburn [EMAIL PROTECTED]
To: 'Sean O'Dea' [EMAIL PROTECTED]; 'The Guyver'
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 1:47 PM
Subject: RE: Urgent Help, please!


 Scripts cannot be suid.  At least on Linux and AIX and SCO they can't.
 Can't speak for others.  You'd have to use some C program to call this,
 or re-write it in C.

 Regards,

 Tren.

 -Original Message-
 From: Sean O'Dea [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 12:38 PM
 To: 'The Guyver'; '[EMAIL PROTECTED]'
 Subject: RE: Urgent Help, please!


 The script should be owned by vpopmail
 chown vpopmail script
 Set the script to run as vpopmail
 chmod u+s script

 That will allow the script to have the same permissions as vpopmail and
 it should be able to write the the directory.

 -Original Message-
 From: The Guyver [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 11:37 AM
 To: Sean O'Dea; [EMAIL PROTECTED]
 Subject: Re: Urgent Help, please!


 How do I do it please??
 Thanks again!

 - Original Message -
 From: Sean O'Dea [EMAIL PROTECTED]
 To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, September 20, 2001 8:32 PM
 Subject: RE: Urgent Help, please!


  The script probably needs to run setuid to the vpopmail user.
 
  -Original Message-
  From: The Guyver [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 20, 2001 11:30 AM
  To: [EMAIL PROTECTED]
  Subject: Urgent Help, please!
 
 
  Hello there,
  I'm in a desperate need to write a PHP script that creates a new
  mailbox with vpopmail 4.10.35 I've written everything correctly but
  when I use exec or system I always
 end
  up with this error:
 
  Error: Unable to chdir to vpopmail/domains directory
 
  please help me it's very urgent if anybody has a clue I'll appreciate
  so much.
 
  Guyver
 






Re: Urgent Help, please!

2001-09-20 Thread Brandon Ramirez

PHP scripts are parsed, not executed. Setuid is useless with PHP. The only
thing I can think of is to make your web server run as root or vpopmail (NOT
recommended) or turn the PHP script into a perl script or C program and make
it setuid-vpopmail.

--
Brandon Ramirez
UnrealHost Head System Administrator
www.unrealhost.net

- Original Message -
From: Sean C Truman [EMAIL PROTECTED]
To: Tren Blackburn [EMAIL PROTECTED]; 'Sean O'Dea'
[EMAIL PROTECTED]; 'The Guyver' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 2:56 PM
Subject: Re: Urgent Help, please!


 Why dont you just compile the vpopmail in PHP and do the calls from PHP
 iteself.

 Sean
 - Original Message -
 From: Tren Blackburn [EMAIL PROTECTED]
 To: 'Sean O'Dea' [EMAIL PROTECTED]; 'The Guyver'
 [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, September 20, 2001 1:47 PM
 Subject: RE: Urgent Help, please!


  Scripts cannot be suid.  At least on Linux and AIX and SCO they can't.
  Can't speak for others.  You'd have to use some C program to call this,
  or re-write it in C.
 
  Regards,
 
  Tren.
 
  -Original Message-
  From: Sean O'Dea [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 20, 2001 12:38 PM
  To: 'The Guyver'; '[EMAIL PROTECTED]'
  Subject: RE: Urgent Help, please!
 
 
  The script should be owned by vpopmail
  chown vpopmail script
  Set the script to run as vpopmail
  chmod u+s script
 
  That will allow the script to have the same permissions as vpopmail and
  it should be able to write the the directory.
 
  -Original Message-
  From: The Guyver [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 20, 2001 11:37 AM
  To: Sean O'Dea; [EMAIL PROTECTED]
  Subject: Re: Urgent Help, please!
 
 
  How do I do it please??
  Thanks again!
 
  - Original Message -
  From: Sean O'Dea [EMAIL PROTECTED]
  To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Thursday, September 20, 2001 8:32 PM
  Subject: RE: Urgent Help, please!
 
 
   The script probably needs to run setuid to the vpopmail user.
  
   -Original Message-
   From: The Guyver [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 20, 2001 11:30 AM
   To: [EMAIL PROTECTED]
   Subject: Urgent Help, please!
  
  
   Hello there,
   I'm in a desperate need to write a PHP script that creates a new
   mailbox with vpopmail 4.10.35 I've written everything correctly but
   when I use exec or system I always
  end
   up with this error:
  
   Error: Unable to chdir to vpopmail/domains directory
  
   please help me it's very urgent if anybody has a clue I'll appreciate
   so much.
  
   Guyver
  
 
 






RE: Urgent Help, please!

2001-09-20 Thread Sean O'Dea

Or add the the user that runs the webserver to the vchkpw group.

-Original Message-
From: Brandon Ramirez [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Urgent Help, please!


PHP scripts are parsed, not executed. Setuid is useless with PHP. The only
thing I can think of is to make your web server run as root or vpopmail (NOT
recommended) or turn the PHP script into a perl script or C program and make
it setuid-vpopmail.

--
Brandon Ramirez
UnrealHost Head System Administrator
www.unrealhost.net

- Original Message -
From: Sean C Truman [EMAIL PROTECTED]
To: Tren Blackburn [EMAIL PROTECTED]; 'Sean O'Dea'
[EMAIL PROTECTED]; 'The Guyver' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 2:56 PM
Subject: Re: Urgent Help, please!


 Why dont you just compile the vpopmail in PHP and do the calls from PHP
 iteself.

 Sean
 - Original Message -
 From: Tren Blackburn [EMAIL PROTECTED]
 To: 'Sean O'Dea' [EMAIL PROTECTED]; 'The Guyver'
 [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, September 20, 2001 1:47 PM
 Subject: RE: Urgent Help, please!


  Scripts cannot be suid.  At least on Linux and AIX and SCO they can't.
  Can't speak for others.  You'd have to use some C program to call this,
  or re-write it in C.
 
  Regards,
 
  Tren.
 
  -Original Message-
  From: Sean O'Dea [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 20, 2001 12:38 PM
  To: 'The Guyver'; '[EMAIL PROTECTED]'
  Subject: RE: Urgent Help, please!
 
 
  The script should be owned by vpopmail
  chown vpopmail script
  Set the script to run as vpopmail
  chmod u+s script
 
  That will allow the script to have the same permissions as vpopmail and
  it should be able to write the the directory.
 
  -Original Message-
  From: The Guyver [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 20, 2001 11:37 AM
  To: Sean O'Dea; [EMAIL PROTECTED]
  Subject: Re: Urgent Help, please!
 
 
  How do I do it please??
  Thanks again!
 
  - Original Message -
  From: Sean O'Dea [EMAIL PROTECTED]
  To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Thursday, September 20, 2001 8:32 PM
  Subject: RE: Urgent Help, please!
 
 
   The script probably needs to run setuid to the vpopmail user.
  
   -Original Message-
   From: The Guyver [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 20, 2001 11:30 AM
   To: [EMAIL PROTECTED]
   Subject: Urgent Help, please!
  
  
   Hello there,
   I'm in a desperate need to write a PHP script that creates a new
   mailbox with vpopmail 4.10.35 I've written everything correctly but
   when I use exec or system I always
  end
   up with this error:
  
   Error: Unable to chdir to vpopmail/domains directory
  
   please help me it's very urgent if anybody has a clue I'll appreciate
   so much.
  
   Guyver
  
 
 





RE: Urgent Help, please!

2001-09-20 Thread Zachary Buckholz


This perl script creates a new user , it does NOT need to be SUID. Only a
script that created a NEW Domain would need to be suid. I have that
available if you need it. My apache runs as user vpopmail.

I am not a qualified perl programmer, so I offer no security with this
script.

zack



#!/usr/bin/perl -w
use CGI ':all';

my $query = new CGI;

my $new_user = $query-param('new_user');
my $domain = $query-param('domain');
my $password = $query-param('password');

my $adduser = `/var/vpopmail/bin/vadduser $new_user\@$domain
$password`;
print header(), start_html(Done.), end_html();





-Original Message-
From: The Guyver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 11:30 AM
To: [EMAIL PROTECTED]
Subject: Urgent Help, please!


Hello there,
I'm in a desperate need to write a PHP script that creates a new mailbox
with vpopmail 4.10.35
I've written everything correctly but when I use exec or system I always end
up with this error:

Error: Unable to chdir to vpopmail/domains directory

please help me it's very urgent if anybody has a clue I'll appreciate so
much.

Guyver



RE: Urgent Help, please!

2001-09-20 Thread Ruben Olague


You also can use sudo to execute programs as a certain user.
http://www.courtesan.com/sudo


-
Ing. Ruben Olague   |
Systems Administrator   |
Podernet, S.A. de C.V.  |
Mexico, D.F.|
Tel: (01) 5257 0730 |
-








Re: Urgent Help, please!

2001-09-20 Thread Sean C Truman

Brandon,

  If you configure PHP --with-vpopmail=/home/vpopmail  you can call the
vadduser() function from within your PHP script. This is one of the reason
Ken created the API for vpopmail.

Sean
- Original Message -
From: Brandon Ramirez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 2:01 PM
Subject: Re: Urgent Help, please!


 PHP scripts are parsed, not executed. Setuid is useless with PHP. The only
 thing I can think of is to make your web server run as root or vpopmail
(NOT
 recommended) or turn the PHP script into a perl script or C program and
make
 it setuid-vpopmail.

 --
 Brandon Ramirez
 UnrealHost Head System Administrator
 www.unrealhost.net

 - Original Message -
 From: Sean C Truman [EMAIL PROTECTED]
 To: Tren Blackburn [EMAIL PROTECTED]; 'Sean O'Dea'
 [EMAIL PROTECTED]; 'The Guyver' [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Thursday, September 20, 2001 2:56 PM
 Subject: Re: Urgent Help, please!


  Why dont you just compile the vpopmail in PHP and do the calls from PHP
  iteself.
 
  Sean
  - Original Message -
  From: Tren Blackburn [EMAIL PROTECTED]
  To: 'Sean O'Dea' [EMAIL PROTECTED]; 'The Guyver'
  [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Thursday, September 20, 2001 1:47 PM
  Subject: RE: Urgent Help, please!
 
 
   Scripts cannot be suid.  At least on Linux and AIX and SCO they can't.
   Can't speak for others.  You'd have to use some C program to call
this,
   or re-write it in C.
  
   Regards,
  
   Tren.
  
   -Original Message-
   From: Sean O'Dea [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 20, 2001 12:38 PM
   To: 'The Guyver'; '[EMAIL PROTECTED]'
   Subject: RE: Urgent Help, please!
  
  
   The script should be owned by vpopmail
   chown vpopmail script
   Set the script to run as vpopmail
   chmod u+s script
  
   That will allow the script to have the same permissions as vpopmail
and
   it should be able to write the the directory.
  
   -Original Message-
   From: The Guyver [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, September 20, 2001 11:37 AM
   To: Sean O'Dea; [EMAIL PROTECTED]
   Subject: Re: Urgent Help, please!
  
  
   How do I do it please??
   Thanks again!
  
   - Original Message -
   From: Sean O'Dea [EMAIL PROTECTED]
   To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Sent: Thursday, September 20, 2001 8:32 PM
   Subject: RE: Urgent Help, please!
  
  
The script probably needs to run setuid to the vpopmail user.
   
-Original Message-
From: The Guyver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 11:30 AM
To: [EMAIL PROTECTED]
Subject: Urgent Help, please!
   
   
Hello there,
I'm in a desperate need to write a PHP script that creates a new
mailbox with vpopmail 4.10.35 I've written everything correctly but
when I use exec or system I always
   end
up with this error:
   
Error: Unable to chdir to vpopmail/domains directory
   
please help me it's very urgent if anybody has a clue I'll
appreciate
so much.
   
Guyver
   
  
  
 
 






Re: Urgent Help, please!

2001-09-20 Thread Brandon Ramirez

I forgot all about that option. Thanks for telling me about that. But
woudn't it still need to be run as a different user?

--
Brandon Ramirez
UnrealHost Head System Administrator
www.unrealhost.net

- Original Message -
From: Sean C Truman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 4:24 PM
Subject: Re: Urgent Help, please!


 Brandon,

   If you configure PHP --with-vpopmail=/home/vpopmail  you can call
the
 vadduser() function from within your PHP script. This is one of the reason
 Ken created the API for vpopmail.

 Sean
 - Original Message -
 From: Brandon Ramirez [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, September 20, 2001 2:01 PM
 Subject: Re: Urgent Help, please!


  PHP scripts are parsed, not executed. Setuid is useless with PHP. The
only
  thing I can think of is to make your web server run as root or vpopmail
 (NOT
  recommended) or turn the PHP script into a perl script or C program and
 make
  it setuid-vpopmail.
 
  --
  Brandon Ramirez
  UnrealHost Head System Administrator
  www.unrealhost.net
 
  - Original Message -
  From: Sean C Truman [EMAIL PROTECTED]
  To: Tren Blackburn [EMAIL PROTECTED]; 'Sean O'Dea'
  [EMAIL PROTECTED]; 'The Guyver' [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  Sent: Thursday, September 20, 2001 2:56 PM
  Subject: Re: Urgent Help, please!
 
 
   Why dont you just compile the vpopmail in PHP and do the calls from
PHP
   iteself.
  
   Sean
   - Original Message -
   From: Tren Blackburn [EMAIL PROTECTED]
   To: 'Sean O'Dea' [EMAIL PROTECTED]; 'The Guyver'
   [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Sent: Thursday, September 20, 2001 1:47 PM
   Subject: RE: Urgent Help, please!
  
  
Scripts cannot be suid.  At least on Linux and AIX and SCO they
can't.
Can't speak for others.  You'd have to use some C program to call
 this,
or re-write it in C.
   
Regards,
   
Tren.
   
-Original Message-
From: Sean O'Dea [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 12:38 PM
To: 'The Guyver'; '[EMAIL PROTECTED]'
Subject: RE: Urgent Help, please!
   
   
The script should be owned by vpopmail
chown vpopmail script
Set the script to run as vpopmail
chmod u+s script
   
That will allow the script to have the same permissions as vpopmail
 and
it should be able to write the the directory.
   
-Original Message-
From: The Guyver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 11:37 AM
To: Sean O'Dea; [EMAIL PROTECTED]
Subject: Re: Urgent Help, please!
   
   
How do I do it please??
Thanks again!
   
- Original Message -
From: Sean O'Dea [EMAIL PROTECTED]
To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 8:32 PM
Subject: RE: Urgent Help, please!
   
   
 The script probably needs to run setuid to the vpopmail user.

 -Original Message-
 From: The Guyver [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 11:30 AM
 To: [EMAIL PROTECTED]
 Subject: Urgent Help, please!


 Hello there,
 I'm in a desperate need to write a PHP script that creates a new
 mailbox with vpopmail 4.10.35 I've written everything correctly
but
 when I use exec or system I always
end
 up with this error:

 Error: Unable to chdir to vpopmail/domains directory

 please help me it's very urgent if anybody has a clue I'll
 appreciate
 so much.

 Guyver

   
   
  
  
 
 






Re: Urgent Help, please!

2001-09-20 Thread guyver

Sean C Truman writes: 

 Brandon, 
 
   If you configure PHP --with-vpopmail=/home/vpopmail  you can call the
 vadduser() function from within your PHP script. This is one of the reason
 Ken created the API for vpopmail. 
 
 Sean

Wow, that sounds very interesting, could you please be more specific
about it? I absolutely have to finish the script by tomorrow... :( 

So basically I should recompile my PHP simply adding 
 --with-vpopmail=/home/vpopmail ?? 

I've checked the Inter7 website but there's nothing about it (or at least 
nothing that I could find) except on the Admin Guide I found a piece of text 
regarding vpopmail API but I thought it was only for C programs... am I 
wrong? It says there is a library at ~vpopmail/lib/libvpopmail.a that is 
linkable with C programs how do I link it to PHP? 

Thanks again for your patience. 

Best regards,
Guyver 




SMTP-AUTH with vpopmail

2001-09-20 Thread Kit Halsted

Sorry if I'm flogging a dead horse, but I can't seem to get this 
running. Can anyone walk me through the steps required to use the 
SMTP-AUTH patch with an existing qmail/vpopmail installation? Or do I 
need to reinstall everything from scratch? Running OpenBSD 2.9-stable 
if it matters.

Thanks,
-Kit
-- 
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.
-Benjamin Franklin

...qui desiderat pacem, praeparet bellum
(...if you would have peace, be prepared for war)
-Flavius Vegetius Renatus



vadddomain

2001-09-20 Thread Adam Plocher
Title: Message



Just yesterday I 
setup qmail with vpopmail, and everything worked fine. I was able to add 
my primary domain via vadddomainwithout a problem. Just now I tried 
adding another domain and after prompting me for a postmaster password, it seg 
faulted. It did create a directory in /home/vpopmail/domains, but did not 
create a database entry (it is using mysql authentication). Does 
anybody know what the problem could be?

Another weird thing, 
if I try to do vadddomain again with the same domain, it will prompt me for a 
postmaster password again, but after I enter it, it says the domain already 
exists (it doesn't seg fault). When I do a vdelddomain it says the domain 
doesn't exist. I simply delete thedirectory and that seems to do the 
trick, but I just thought it was kinda weird.

Thanks a 
lot
-Adam


Re: Urgent Help, please!

2001-09-20 Thread Sean C Truman

Guyver,

I am sorry I can't write the script for you.. Just configure PHP
with --with-vpopmail (Should find the directory automatically) compile PHP
and Apache Again.. and Look at the vpopmail.h and vauth.h for the callable
functions and there parameters.

Sean
- Original Message -
From: guyver [EMAIL PROTECTED]
To: Sean C Truman [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 4:38 PM
Subject: Re: Urgent Help, please!


 Sean C Truman writes:

  Brandon,
 
If you configure PHP --with-vpopmail=/home/vpopmail  you can call
the
  vadduser() function from within your PHP script. This is one of the
reason
  Ken created the API for vpopmail.
 
  Sean

 Wow, that sounds very interesting, could you please be more specific
 about it? I absolutely have to finish the script by tomorrow... :(

 So basically I should recompile my PHP simply adding
  --with-vpopmail=/home/vpopmail ??

 I've checked the Inter7 website but there's nothing about it (or at least
 nothing that I could find) except on the Admin Guide I found a piece of
text
 regarding vpopmail API but I thought it was only for C programs... am I
 wrong? It says there is a library at ~vpopmail/lib/libvpopmail.a that is
 linkable with C programs how do I link it to PHP?

 Thanks again for your patience.

 Best regards,
 Guyver






Re: Urgent Help, please!

2001-09-20 Thread Sean C Truman

Brandon,

No you can run it as any user.. I believe the vpopmail API takes care of
the user problem.. (Atleast I remeber reading it in the mailing list)

Sean
- Original Message -
From: Brandon Ramirez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 3:29 PM
Subject: Re: Urgent Help, please!


 I forgot all about that option. Thanks for telling me about that. But
 woudn't it still need to be run as a different user?

 --
 Brandon Ramirez
 UnrealHost Head System Administrator
 www.unrealhost.net

 - Original Message -
 From: Sean C Truman [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, September 20, 2001 4:24 PM
 Subject: Re: Urgent Help, please!


  Brandon,
 
If you configure PHP --with-vpopmail=/home/vpopmail  you can call
 the
  vadduser() function from within your PHP script. This is one of the
reason
  Ken created the API for vpopmail.
 
  Sean
  - Original Message -
  From: Brandon Ramirez [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, September 20, 2001 2:01 PM
  Subject: Re: Urgent Help, please!
 
 
   PHP scripts are parsed, not executed. Setuid is useless with PHP. The
 only
   thing I can think of is to make your web server run as root or
vpopmail
  (NOT
   recommended) or turn the PHP script into a perl script or C program
and
  make
   it setuid-vpopmail.
  
   --
   Brandon Ramirez
   UnrealHost Head System Administrator
   www.unrealhost.net
  
   - Original Message -
   From: Sean C Truman [EMAIL PROTECTED]
   To: Tren Blackburn [EMAIL PROTECTED]; 'Sean O'Dea'
   [EMAIL PROTECTED]; 'The Guyver' [EMAIL PROTECTED];
   [EMAIL PROTECTED]
   Sent: Thursday, September 20, 2001 2:56 PM
   Subject: Re: Urgent Help, please!
  
  
Why dont you just compile the vpopmail in PHP and do the calls from
 PHP
iteself.
   
Sean
- Original Message -
From: Tren Blackburn [EMAIL PROTECTED]
To: 'Sean O'Dea' [EMAIL PROTECTED]; 'The Guyver'
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 20, 2001 1:47 PM
Subject: RE: Urgent Help, please!
   
   
 Scripts cannot be suid.  At least on Linux and AIX and SCO they
 can't.
 Can't speak for others.  You'd have to use some C program to call
  this,
 or re-write it in C.

 Regards,

 Tren.

 -Original Message-
 From: Sean O'Dea [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 12:38 PM
 To: 'The Guyver'; '[EMAIL PROTECTED]'
 Subject: RE: Urgent Help, please!


 The script should be owned by vpopmail
 chown vpopmail script
 Set the script to run as vpopmail
 chmod u+s script

 That will allow the script to have the same permissions as
vpopmail
  and
 it should be able to write the the directory.

 -Original Message-
 From: The Guyver [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 20, 2001 11:37 AM
 To: Sean O'Dea; [EMAIL PROTECTED]
 Subject: Re: Urgent Help, please!


 How do I do it please??
 Thanks again!

 - Original Message -
 From: Sean O'Dea [EMAIL PROTECTED]
 To: 'The Guyver' [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, September 20, 2001 8:32 PM
 Subject: RE: Urgent Help, please!


  The script probably needs to run setuid to the vpopmail user.
 
  -Original Message-
  From: The Guyver [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 20, 2001 11:30 AM
  To: [EMAIL PROTECTED]
  Subject: Urgent Help, please!
 
 
  Hello there,
  I'm in a desperate need to write a PHP script that creates a new
  mailbox with vpopmail 4.10.35 I've written everything correctly
 but
  when I use exec or system I always
 end
  up with this error:
 
  Error: Unable to chdir to vpopmail/domains directory
 
  please help me it's very urgent if anybody has a clue I'll
  appreciate
  so much.
 
  Guyver
 


   
   
  
  
 
 






RE: SMTP-AUTH with vpopmail

2001-09-20 Thread Tren Blackburn

Or you can just add the qmaild user to the vchkpw group (which is what I
did)  This works just fine for me it seems, but I'm guessing it'll only work
for sites that have ALL virtual domains under the vchkpw user, otherwise,
you'll have to run the qmail-smtpd program as root.

Regards,

Tren.

-Original Message-
From: Chris Bolt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 4:45 PM
To: [EMAIL PROTECTED]
Subject: RE: SMTP-AUTH with vpopmail


 Sorry if I'm flogging a dead horse, but I can't seem to get this
 running. Can anyone walk me through the steps required to use the
 SMTP-AUTH patch with an existing qmail/vpopmail installation? Or do I
 need to reinstall everything from scratch? Running OpenBSD 2.9-stable
 if it matters.

I use Mrs. Brisby's drop-in replacement for qmail-smtpd.c with SMTP AUTH
support. It doesn't support CRAM-MD5 authentication but none of the clients
my users use support that anyways.

http://www.nimh.org/dl/qmail-smtpd.c

Then just add ~vpopmail/bin/vchkpw /bin/true to the end of the script you
use to launch qmail-smtpd. You do need to recompile qmail-smtpd but not
vpopmail.

If you have vpopmail 4.9.10, you'll need to make qmail-smtpd run as root but
I don't know about newer versions.





Re: vadddomain

2001-09-20 Thread T.J. Drennan

I believe you need to be root to run vadddomain. Delete the directory it
created, su to root and run it again.

On 9/20/01 3:35 PM, Adam Plocher [EMAIL PROTECTED] wrote:

 Just yesterday I setup qmail with vpopmail, and everything worked fine.  I
 was able to add my primary domain via vadddomain without a problem.  Just
 now I tried adding another domain and after prompting me for a postmaster
 password, it seg faulted.  It did create a directory in
 /home/vpopmail/domains, but did not create a database entry (it is using
 mysql authentication).   Does anybody know what the problem could be?
 
 Another weird thing, if I try to do vadddomain again with the same domain,
 it will prompt me for a postmaster password again, but after I enter it, it
 says the domain already exists (it doesn't seg fault).  When I do a
 vdelddomain it says the domain doesn't exist.  I simply delete the directory
 and that seems to do the trick, but I just thought it was kinda weird.
 
 Thanks a lot
 -Adam
 

-- 

***
T.J. Drennan
Software Engineer ­ Wireless Systems
   Spectrum Signal Processing
[EMAIL PROTECTED]  http://drennan.bc.ca/tj/
***





vpopmail5 w/ mysql

2001-09-20 Thread alexus

hello

I've been successfully able to compile and run vpopmail 4.9.10 and sine
inter7 is very close for release next version of vpopmail (5.0) I've decided
to try it on.. along with new sqwebmail 3.0.. here is my configuration line
that I've used; after that I just did gmake;gmake install; everything went
smoothly no errors or warning of any kind however once again I'm having
problem(s) with mysql;( I did edit vmysql.h and enter my settings such as:
my uid,pwd,db (I'm able to logon into mysql using mysql client)).. here is
what I'm getting when I'm trying to auth:

su-2.05# telnet localhost pop3
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
USER [EMAIL PROTECTED]
+OK
PASS xx (not actual password) :)
could not connect to mysql update server
-ERR authorization failed
Connection closed by foreign host.
su-2.05#

su-2.05#
./configure --enable-ip-alias-domains=y --enable-qmail-ext=y --enable-roamin
g-users=y --enable-relay-clear-minutes=18 --enable-auth-logging=y --enable-m
ysql-logging=y --enable-valias=y --enable-logging=y --enable-mysql=y --enabl
e-sqwebmail-pass=y --enable-learn-passwords=y --enable-tcprules-prog=/usr/lo
cal/bin --enable-mysql-replication=y

   vpopmail 5.0pre5
Current settings
---

vpopmail directory = /var/qmail/vpopmail
   uid = 1026
   gid = 1015
  ip alias = ON  --enable-ip-alias-domains=y
address extentions = ON  --enable-qmail-ext=y
 roaming users = ON  --enable-roaming-users=y
tcpserver file = /etc/tcp.smtp
open_smtp file = /var/qmail/vpopmail/etc/open-smtp
user quota = OFF --enable-hardquota=n default
   auth module = mysql --enable-mysql=y
 mysql replication = ON  --enable-mysql-replication=y
table optimization = many domains --enable-many-domains=y default
  system passwords = OFF --enable-passwd=n default
  file locking = ON  --enable-file-locking=y default
 file sync = ON  --enable-file-sync=y default
  auth logging = ON  --enable-auth-logging=y
 mysql logging = ON  --enable-mysql-logging=y
mysql clear passwd = OFF --enable-clear-passwd=n default
 valias processing = ON  --enable-valias=y
pop syslog = show successful and failure login attempts
 --enable-logging=y
default domain =  --enable-default-domain=
  auth inc = -I/usr/local/include/mysql
  auth lib = -L/usr/local/lib/mysql  -lmysqlclient -lz


su-2.05#

my OS is FreeBSD-4.4STABLE (if this any relevant)

oh and another thing is (this might be help) in vmysql.h MYSQL_UPDATE and
MYSQL_READ are exactly the same..
could someone point me where i can read more about why is there two mysql
varibles in vpopmail5 instead of one in vpopmail4? i've looked in FAQ and in
INSTALL that comes with vpopmail5 it doesn't say anything about it..

thank you in advance





vpomail 4.9.10 takes 100% CPU

2001-09-20 Thread alexus

i have qmail that was workin' fine 'till i desided to try vpopmail 5.x and
since i can't make vpopmail 5.x i've desided to put back vpopmail 4.9.10
'till i can figure out what's wrong with vpopmail 5.x, i got source code
compile with my old settings and installed it, compilcaiton went thorugh
okay, when i'm trying to auth using pop i don't get any emails or anything
at all after password is entered

just like that

+OK [EMAIL PROTECTED]
user test
+OK
pass x

however on back end i see this

su-2.05# ps auxwww|grep -v 0.0
USER PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
root   17075 97.5  0.2  1392 1036  p4  RV1:45AM   0:27.99
/var/qmail/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
su-2.05# ps auxww|grep vpopmail
root   17075 97.3  0.2  1392 1036  p4  RV1:45AM   4:27.79
/var/qmail/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
root   17072  0.0  0.1   912  468  p4  I 1:45AM   0:00.00
/usr/local/bin/tcpserver 0 110 /var/qmail/bin/qmail-popup box.nexgen.com
/var/qmail/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
root   17073  0.0  0.1   892  468  p4  I 1:45AM   0:00.01
/var/qmail/bin/qmail-popup box.nexgen.com /var/qmail/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir
root   17074  0.0  0.2  1392 1036  p4  D 1:45AM   0:00.02
/var/qmail/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
su-2.05#

any ideas what could causing nearly a 100% of CPU usage on vchkpw?