Re: [vchkpw] Customizeable .qmail defaults?

2004-05-13 Thread Patrick Donker




Ken Jones wrote:

  On Wednesday 12 May 2004 3:05 pm, James Treworgy wrote:
  
  
snip
I'm relatively new to vpopmail/qmailadmin so I don't know if this is
possible to configure either by hand or through qmailadmin. I've read
everything I could and couldn't find an answer to my question; the
instructions for handling mail filtering seems different. Any suggestions
or existing hacks?

  
  
If you use the lastest devel version (we use 5.5.1 in production) you
can use the new spamassasin code. It integrates calling spamassassin
into the vdelivermail program using some flags in the gid field. Use
--enable-spamassassin=y on the configure line. Then you can use
regular .qmail files without the pipe command, hence qmailadmin
won't step on them. 
/snip

Hope that helps
Ken Jones


  

Where can I get the 5.5.1 devel? On Sourceforge I can only download
5.5.0
Thanks
-Patrick




Re: [vchkpw] please help

2004-05-13 Thread Patrick Donker

does anyone why its happening ?

Thanks, 
Mark

 

are you using the same userid to compile with as you have used to 
download the source? Maybe you should chown the files first


[vchkpw] POP3 authentication doesnt work for virtual accounts

2004-05-11 Thread Patrick Donker
Hi peeps,

Yesterday I managed to get imap authentication working for virtual 
accounts, but now I tried to connect through pop3, but I keep on getting 
authentication errors. I assume it is a similair problem as with imap auth.
Can anybody tell me how to get this working? I'm sure that I can get it 
to work on my own, but the last time it took me 2 days before I figured 
it out and I assume that people here on this list have encountered 
similair problems before.
Here is my pop3 run file:
#!/bin/sh
env - PATH=/var/qmail/bin:/usr/local/bin \
exec softlimit -m 200tcpserver -u 89 -g 89 -v -H -R -l 0 0 110 \
   /var/qmail/bin/qmail-popup FQDM \
   /server/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

Is this a good way to get it working?
Any help is most welcomed as I need to get my server working asap.
TIA
-Patrick


Re: [vchkpw] POP3 authentication doesnt work for virtual accounts

2004-05-11 Thread Patrick Donker




Jeremy Kitchen wrote:

  On Tuesday 11 May 2004 09:04 am, Patrick Donker wrote:
[snip can't authenticate with pop]

  
  
Here is my pop3 run file:
#!/bin/sh
env - PATH="/var/qmail/bin:/usr/local/bin" \
exec softlimit -m 200tcpserver -u 89 -g 89 -v -H -R -l 0 0 110 \
/var/qmail/bin/qmail-popup FQDM \
/server/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

  
  
you have to run that as root.  checkpassword modules setuid to the proper user 
and then call their arguments.

It could however, also be two or 3 other things, including softlimit, but you 
didn't show us anything (logs, example telnet session, etc) that could help 
us otherwise.

-Jeremy

  

Jeremy, I guess cosmic radiation made it work again after a reboot.
Dont ask me why, it just does




Re: [vchkpw] QmailAdmin compiling on x86-64

2004-05-11 Thread Patrick Donker






  how can I get it to build for x86-64 target?

I would start with mailing to [EMAIL PROTECTED]




[vchkpw] Problem after installing vpopmain [UPDATE]

2004-05-10 Thread Patrick Donker
In addition to my earlier posted problem I have found out the following:
If I check the imapd/current log I see that it tries to chdir to /home/test
After I created the new user skel consisting out of a homedir+maildir I 
can log in. However, the mailbox is still empty. Mail is delivered to 
/server/vpopmail/domains/[FQDM]/test
Why is it that imap is looking at the wrong places and how do I make it 
work with the correct files?

-Patrick


Re: [vchkpw] Qutoa not showing correct usage

2004-05-10 Thread Patrick Donker
Andrew Niemantsverdriet wrote:

I have a user who currently has about .5 Megs of messages in their
mailbox. However the quota usages says that are using 97% of there
quota. Has anybody had a problem like this before? Or does anybody have
any suggestions on how to fix it?
_
/-\ ndrew
http://www.pure-wireless.net
[EMAIL PROTECTED]
 

Did you compile courier-imap (asume you use that) with --withtrashquota? 
Maybe his trash is full.
Read ./courier-imap-3.0.3/maildir/readme.mailquota.html for more info.
Hope this helps

-Patrick


[vchkpw] Problem after installing vpopmain [SOLVED]

2004-05-10 Thread Patrick Donker
It appeared that the daemontools run file was pointing to the wrong 
authlib; authshadow while authvchkpw was needed. All is working as expected.
So, every person who was franticly looking for an answer to help me out, 
 thanks. Oh wait, nobody repliedwell thats ok :)

-Patrick




Re: [vchkpw] vpopmail and courier default domain

2004-05-09 Thread Patrick Donker
Radu Spineanu wrote:

Hello

In older versions of vpopmail when i compiled it with --enable-default-domain 
it worked for imap also, however on my installation with the default domain 
etc/defaultdomain it doesn't work for imap.
I am using the authvchkpw module for imap

Radu

 

Where can I find that module? I think that I have the same problem

Patrick


[vchkpw] Problem after installing vpopmain

2004-05-10 Thread Patrick Donker
Hi all,

I have the strangest of problems going on after installing vpopmail  
qmailadmin. But first some history;
At first I installed Qmail + Courier-Imap + Squirrelmail, which all 
worked fine using 1 domain and system users.
After that I wanted to host multiple domains, so I created one using 
dyndns and I installed vpopmail and qmailadmin. All went well, 
encountering the usual installation quirks :) Anyhow, everything looks 
fine, but the funny thing is, I cannot log in using virtual users, but 
with system users I can. Other thing is, I the mailboxes remain empty, 
while mail /is/ delivered (they show in the ./maildir/new files).
So, I can create virtual domains and virtual users; no errors and they 
show up in the appropiate files and folders. I can send mail to those 
domains and users. However, I cannot login to the virtual domains using 
virtual users (incorrect username or password), but I can using a system 
account. After loggin in with a system account the mailbox is empty, 
even though mail is successfully delivered as I can see them in the 
/mailbox/new folder.
I have rechecked the installation notes and everything looks ok.
Now, how can I trace what is going wrong, and what could possibly have 
gone wrong as I have followed the instructions from the inter7 site.
Any help is most apreciated.

-Patrick


Re: [vchkpw] Vchkpw@inter7.com - Paypal account limited.

2004-05-08 Thread Patrick Donker




[EMAIL PROTECTED] wrote:

  
  
  
  Dear PayPal user
  
  
  Dear [EMAIL PROTECTED],
  
  
We recently reviewed your account, and suspect that your PayPal account
may
have been accessed by an unauthorized third party. Protecting the
security
of your account and of the PayPal network is our primary concern.
Therefore, as a preventative measure, we have temporarily limited
access to
sensitive PayPal account features.
Click below in order to regain access to your account:
  https://www.paypal.com/cgi-bin/webscr?cmd=_login-run
  
For more information about how to protect your account, please visit
PayPal's Security Center, accessible via the "Security Center" link
located
at the bottom of each page of the PayPal website. 
  
We apologize for any inconvenience this may cause, and appreciate your
assistance in helping us maintain the integrity of the entire PayPal
system. Thank you for your prompt attention to this matter.
  
Sincerely,
The PayPal Team
  
  
Please do not reply to this e-mail. Mail sent to this address cannot be
answered. For assistance, log in to your PayPal account and choose the
"Help" link in the header of any page.
  
  
PayPal Email ID PP198
PayPal Email ID PP316

  
  


right...




Re: [vchkpw] Vchkpw@inter7.com - Paypal account limited.

2004-05-08 Thread Patrick Donker




[EMAIL PROTECTED] wrote:

  
[EMAIL PROTECTED] wrote:



  
Dear [EMAIL PROTECTED],
  

right...


  
  the links 
https://%32%31%31%2E%32%38%2E%31%35%35%2E%32%31%30/%2E%76%65%72%69%66%69%63%61%74%69%6F%6E/%68%69%64%65/%69%6E%64%65%78%32%2E%68%74%6D"
 and a window.status=https://www.paypal.com/cgi-bin/webscr?cmd=_login-run

the origional email should be forwarded w/header info to [EMAIL PROTECTED]:

http://www.paypal.com/cgi-bin/webscr?cmd=p/gen/email-security-outside


  

well, go right ahead




[vchkpw] Troubles running make

2004-05-04 Thread Patrick Donker
Hi all,

I'm new to both this list and linux so forgive my ignorance and that my 
question most likely has been asked before.

I have been trying to install just about any version of vpopmail, but all have 
problems when I run make.
I use this commandline to install:
[EMAIL PROTECTED]:~/vpopmail-5.4.3#./configure --enable-roaming-users 
--enable-clear-passwd

No probs so far. However, as soon as I run make I get the below message and 
make dies:

[EMAIL PROTECTED]:~/vpopmail-5.4.3# make
Makefile:332: warning: overriding commands for target `_AM_File'
Makefile:322: warning: ignoring old commands for target `_AM_File'
Makefile:351: warning: overriding commands for target `[]'
Makefile:341: warning: ignoring old commands for target `[]'
make: *** No rule to make target `_AM_File,', needed by `all-recursive-am'.  
Stop.

I tried this with older versions as well, but the same problem.
What could be wrong and what info do you need to help me out?
I'm running Debian 3 with the 2.6.5.1 kernel

Thanks
Patrick


[vchkpw] Troubles running make

2004-05-04 Thread Patrick Donker
Hi all,

I'm new to both this list and linux so forgive my ignorance and that my 
question most likely has been asked before.

I have been trying to install just about any version of vpopmail, but all have 
problems when I run make.
I use this commandline to install:
[EMAIL PROTECTED]:~/vpopmail-5.4.3#./configure --enable-roaming-users 
--enable-clear-passwd

No probs so far. However, as soon as I run make I get the below message and 
make dies:

[EMAIL PROTECTED]:~/vpopmail-5.4.3# make
Makefile:332: warning: overriding commands for target `_AM_File'
Makefile:322: warning: ignoring old commands for target `_AM_File'
Makefile:351: warning: overriding commands for target `[]'
Makefile:341: warning: ignoring old commands for target `[]'
make: *** No rule to make target `_AM_File,', needed by `all-recursive-am'.  
Stop.

I tried this with older versions as well, but the same problem.
What could be wrong and what info do you need to help me out?
I'm running Debian 3 with the 2.6.5.1 kernel

Thanks
Patrick


Re: [vchkpw] Troubles running make

2004-05-04 Thread Patrick Donker
Anybody willing to comment on my problem, or are there only 3 people on 
this list?

Patrick Donker wrote:

Hi all,

I'm new to both this list and linux so forgive my ignorance and that my 
question most likely has been asked before.

I have been trying to install just about any version of vpopmail, but all have 
problems when I run make.
I use this commandline to install:
[EMAIL PROTECTED]:~/vpopmail-5.4.3#./configure --enable-roaming-users 
--enable-clear-passwd

No probs so far. However, as soon as I run make I get the below message and 
make dies:

[EMAIL PROTECTED]:~/vpopmail-5.4.3# make
Makefile:332: warning: overriding commands for target `_AM_File'
Makefile:322: warning: ignoring old commands for target `_AM_File'
Makefile:351: warning: overriding commands for target `[]'
Makefile:341: warning: ignoring old commands for target `[]'
make: *** No rule to make target `_AM_File,', needed by `all-recursive-am'.  
Stop.

I tried this with older versions as well, but the same problem.
What could be wrong and what info do you need to help me out?
I'm running Debian 3 with the 2.6.5.1 kernel
Thanks
Patrick
 




Re: [vchkpw] Troubles running make

2004-05-04 Thread Patrick Donker




David Wolfskill wrote:

  On Tue, May 04, 2004 at 09:50:01PM +0200, Patrick Donker wrote:
  
  
Anybody willing to comment on my problem, or are there only 3 people on 
this list?

  
  
Some of us who are on the list are not qualified to respond to what
appear to be Linux-specific issues.

Peace,
david
  

Ok, then could you, or anyone else, point me to any resource that could
lead to a successful make? I have absolutely no clue where to look as
this is the first time I have troubles installing a package. The error
message doesnt help very much either...
TIA
Patrick




Re: [vchkpw] Troubles running make

2004-05-04 Thread Patrick Donker




Jeremy Kitchen wrote:

  http://scriptkitchen.com/godkills.jpg -- please, think of the kittens.

On Tuesday 04 May 2004 02:50 pm, Patrick Donker wrote:
  
  
Anybody willing to comment on my problem, or are there only 3 people on
this list?

  
  
patience is a virtue.  Your first post was this morning.  If you expect to 
have answers right away there ARE commercial support providers out there.

  

Apparently I am in a different timezone than the majority here (GMT+1),
and no, I havent tried Touch * (yet)...will try, tnx




Re: [vchkpw] Troubles running make [SOLVED]

2004-05-04 Thread Patrick Donker
have you tried:

touch *
in the root of the source tree?
-Jeremy

 

Thanks for this tip Jeremy; it solved my problem.
Only thing is that I dont understand why. I've looked at man touch, and 
I know what it does, but dont understand why and how it solved my 
problem(?). Maybe you can clue me in? If it is too off-topic for this 
list, maybe you can explain it too me (briefly) by emailing me direcly?
Thanks and sorry for the impatience :)
Patrick


Re: [vchkpw] Troubles running make

2004-05-04 Thread Patrick Donker
Dude, relax!

Rick Widmer wrote:

Its not a fucking instant message system!

Plan to wait for up to a day for an answer, not one hour



Patrick Donker wrote:

David Wolfskill wrote:

On Tue, May 04, 2004 at 09:50:01PM +0200, Patrick Donker wrote:
 

Anybody willing to comment on my problem, or are there only 3 
people on this list?
  


Some of us who are on the list are not qualified to respond to what
appear to be Linux-specific issues.
Peace,
david
 

Ok, then could you, or anyone else, point me to any resource that 
could lead to a successful make? I have absolutely no clue where to 
look as this is the first time I have troubles installing a package. 
The error message doesnt help very much either...
TIA
Patrick






Re: [vchkpw] Troubles running make [SOLVED]

2004-05-04 Thread Patrick Donker
X-Istence wrote:

Jeremy Kitchen wrote:

On Tuesday 04 May 2004 03:28 pm, Patrick Donker wrote:

have you tried:

touch *
in the root of the source tree?
-Jeremy


Thanks for this tip Jeremy; it solved my problem.
Only thing is that I dont understand why. I've looked at man touch, and
I know what it does, but dont understand why and how it solved my
problem(?). Maybe you can clue me in? If it is too off-topic for this
list, maybe you can explain it too me (briefly) by emailing me direcly?
Thanks and sorry for the impatience :)


man make

it describes how make uses timestamps to determine what needs to be 
built.  Surely you can put that together with the information you got 
from 'man touch' and know why what you did fixed the problem.

-Jeremy



Mabey its time to fix your server time.

This shouldnt happen.

X-Istence


No; its already synching


Re: [vchkpw] Troubles running make [SOLVED]

2004-05-04 Thread Patrick Donker




Jeremy Kitchen wrote:

  On Tuesday 04 May 2004 05:31 pm, X-Istence wrote:
  
  

  
have you tried:


  touch *
in the root of the source tree?
  

  

  
  
  
  
Mabey its time to fix your server time.

  
  
happened to me the other day, which is why I said to touch *

I think there's something wrong with the tarball again *shrugs*

-Jeremy

  

Well, glad that it is something so easily fixable...if only all
problems were g
Patrick




Re: [vchkpw] Troubles running make [SOLVED]

2004-05-05 Thread Patrick Donker
Tom Collins wrote:
On May 5, 2004, at 12:25 PM, X-Istence wrote:
ntpdate ntp.nasa.gov before you build the tar ball :P.

Actually, it's more a problem of the CVS server not maintaining the 
proper dates on the files used in the build process.  It has to do 
with relative dates (which files are newer) than absolute dates.

If I do 'touch *' before building the tarball, that takes care of the 
problem.  I prefer not to do that though, as I feel that files that 
haven't changed should keep their timestamps.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/

Maybe you could do a touch * in the installation script, or mention it 
in the install document


Re: [vchkpw] Authentication and vpopmail

2004-05-15 Thread Patrick Donker




Vitaliy Sholokhov wrote:

  but will I still be able to authenticate via vpopmail and recieve mail
through imap on all of my virtual domains?

quote who="Michael Bowe"
  
  
- Original Message -
From: "Vitaliy Sholokhov" [EMAIL PROTECTED]




  Hey, everyone

I am using netqmail 1.05, vpopmail 5.4.0 and latest courier-imap.
My problem is that when I authenticate through outlook via IMAP, my ip
is
recognized as "imap" and is written to open-smtp as "imap", thus I
cannot
send any mail through my smtp.
How can that problem be solved?
  

To have imap-before-smtp support, you need to configure
courier-imap --with-authdaemon

Michael.



  
  

  

You might need to change your daemontools run file to something like:

#!/bin/sh
exec /command/envdir /var/qmail/supervise/imapd/env \
/usr/local/bin/tcpserver -v -R -H -l FQDN 0 143 \
/usr/lib/courier-imap/sbin/imaplogin \
/usr/lib/courier-imap/libexec/authlib/authvchkpw \
/usr/lib/courier-imap/bin/imapd Maildir 21 

I'm sure there are more ways to do it, but this works for me.

-Patrick




Re: [vchkpw] Problems with multi domains in vpopmail

2004-05-16 Thread Patrick Donker
Pls include your bug report
Mário Gamito wrote:
Hi,
I've installed vpopmail, but i'm having problems with adding domains.
The first one i add works just fine.
From the second one on i get this error:
Signal 1 caught by ps (procps version 2.0.13).
Please send bug reports to [EMAIL PROTECTED]
I've compiled vpopmail with --enable-many-domains=y
What can be wrong ?
Any help would be gratly appreciated.
Warm Regards,
Mário Gamito
 




Re: [vchkpw] Problems with multi domains in vpopmail

2004-05-16 Thread Patrick Donker




Mrio Gamito wrote:

  Sorry, but i don't understand your issue.
Would you care to explain it more specifically, please ?

Warm Regards,
Mrio Gamito 

  
  
-Original Message-
From: Patrick Donker [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, May 16, 2004 12:25 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Problems with multi domains in vpopmail

Pls include your bug report

Mrio Gamito wrote:



  Hi,

I've installed vpopmail, but i'm having problems with adding domains.
The first one i add works just fine.

From the second one on i get this error:
"Signal 1 caught by ps (procps version 2.0.13).
Please send bug reports to [EMAIL PROTECTED]"

I've compiled vpopmail with --enable-many-domains=y

What can be wrong ?

Any help would be gratly appreciated.

Warm Regards,
Mrio Gamito


 

  



  
  

  

The error says that a bug report has been generated. If you can find
it, please send it to the list because without more info your problem
is nearly impossible to pinpoint. Maybe in /var/log/messages, syslog,
mail, or other logs there is more info on your problem




Re: [vchkpw] Problems with multi domains in vpopmail

2004-05-16 Thread Patrick Donker
Mário Gamito wrote:
Hi,
I've compiled vpopmail witg no compiler flags and with configured options:
./configure -without-ipv6 -enable-unicode
-enable-workarounds-for-imap-client-bugs -without-authpwd -without-authpam
-without-authuserdb -without-authcram -with-authvchkpw -without-authldap
-without-authmysql -without-authpgsql -without-authdaemon
-without-authcustom -without-authshadow --with-redhat
Thank you for your ansewr.
The strace output follows my signature.
Warm regards,
Mário Gamito
 

Looks like you have removed just about every authentication lib there is 
while configuring. I can imagine that it dies this way
How do you authenticate to your server?


Re: [vchkpw] Problems with multi domains in vpopmail

2004-05-16 Thread Patrick Donker




Mrio Gamito wrote:

  Hi,

I have  -with-authvchkpw 
I know it's for user's accounts-

What is missing then ?

Thank you for your answer.

Warm Regards,


  
  
-Original Message-
From: Patrick Donker [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, May 16, 2004 5:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Problems with multi domains in vpopmail

Mrio Gamito wrote:



  Hi,

I've compiled vpopmail witg no compiler flags and with 
  

configured options:


  "./configure -without-ipv6 -enable-unicode 
-enable-workarounds-for-imap-client-bugs -without-authpwd 
-without-authpam -without-authuserdb -without-authcram 
  

-with-authvchkpw 


  -without-authldap -without-authmysql -without-authpgsql 
-without-authdaemon -without-authcustom -without-authshadow 
  

--with-redhat"


  Thank you for your ansewr.
The strace output follows my signature.

Warm regards,
Mrio Gamito
 

  

Looks like you have removed just about every authentication 
lib there is while configuring. I can imagine that it dies 
this way
How do you authenticate to your server?


  
  

  

I think you'd better read the section on authlibs on inter7.com
(courier-imap) first




Re: [vchkpw] How to view message all email send/recieve pass my qmail server ?

2004-05-17 Thread Patrick Donker
Songrit Srilasak wrote:
my manager need to view all (message) send/recieve . my opinion, when
recieving i can set forward to [EMAIL PROTECTED] but when user send email
i don't know to view message.
--
 

This is explained in the FAQ:
8.2. How do I keep a copy of all incoming and outgoing mail messages?
Answer: Set QUEUE_EXTRA to Tlog\0 and QUEUE_EXTRALEN to 5 in extra.h.
Recompile qmail. Put ./msg-log into ~alias/.qmail-log.
You can also use QUEUE_EXTRA to, e.g., record the Message-ID of every
message: run
  | awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'
from ~alias/.qmail-log.


Re: [vchkpw] make issues

2004-05-19 Thread Patrick Donker




Mark Matrafajlo wrote:

  I just can't seem to compile courier with vpopmail and mysql as a
backend.  Hopefully someone has some insight for me:

./configure --prefix=/usr/local/courier-imap --disable-root-check
--without-authpam --without-authldap --without-authpwd
--without-authmysql --without-authpgsql --without-authshadow
--without-authuserdb --without-authcustom --without-authcram
--without-authdaemon --with-authvchkpw --with-ssl 


  
  
In file included from authvchkpw.c:21:
vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No such file or directory
authvchkpw.c:23:26: vauth.h: No such file or directory
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:174: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
authvchkpw.c:190: warning: implicit declaration of function `vauth_getpw'
authvchkpw.c:190: warning: assignment makes pointer from integer without a cast
authvchkpw.c:200: error: dereferencing pointer to incomplete type
authvchkpw.c:200: error: dereferencing pointer to incomplete type
authvchkpw.c:206: warning: passing arg 3 of `vpasswd' discards qualifiers from pointer target type
make[2]: *** [authvchkpw.o] Error 1
make[2]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib'
make: *** [all-recursive] Error 1

  
  


  

Maybe a stupid question, but did you install vpopmail before courier?




Re: [vchkpw] make issues

2004-05-19 Thread Patrick Donker




Mark Matrafajlo wrote:

  yes...could that be it ?
On Wed, 2004-05-19 at 17:14, Patrick Donker wrote:
  
  
Mark Matrafajlo wrote:


  I just can't seem to compile courier with vpopmail and mysql as a
backend.  Hopefully someone has some insight for me:

./configure --prefix=/usr/local/courier-imap --disable-root-check
--without-authpam --without-authldap --without-authpwd
--without-authmysql --without-authpgsql --without-authshadow
--without-authuserdb --without-authcustom --without-authcram
--without-authdaemon --with-authvchkpw --with-ssl 


  
  
  
In file included from authvchkpw.c:21:
vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No such file or directory
authvchkpw.c:23:26: vauth.h: No such file or directory
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:174: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type
authvchkpw.c:190: warning: implicit declaration of function `vauth_getpw'
authvchkpw.c:190: warning: assignment makes pointer from integer without a cast
authvchkpw.c:200: error: dereferencing pointer to incomplete type
authvchkpw.c:200: error: dereferencing pointer to incomplete type
authvchkpw.c:206: warning: passing arg 3 of `vpasswd' discards qualifiers from pointer target type
make[2]: *** [authvchkpw.o] Error 1
make[2]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib'
make: *** [all-recursive] Error 1


  
  
  
  

Maybe a stupid question, but did you install vpopmail before courier?

  
  

  

Ahm, no, but the error 'vpopmail_config.h:1:48:
/var/qmail/vpopmail/include/config.h: No such file or directory'
pointed in that direction




Re: [vchkpw] make issues

2004-05-20 Thread Patrick Donker




did you try already?

Mark Matrafajlo wrote:

  Do i need the authvchkpwd enabled on the courier ./configure to work
with vpopmail and mysql

On Thu, 2004-05-20 at 09:14, Mark Matrafajlo wrote:
  
  
do you think it has something todo with the fact that its not in the
standard directory /home/vpopmail...on this machine it defaults to
/var/qmail/vpopmail ?
On Wed, 2004-05-19 at 18:12, Ken Jones wrote:


  On Wednesday 19 May 2004 04:51 pm, Mark Matrafajlo wrote:
  
  
when i look in the vpopmail/include directory i have just 2 files
vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h
to config.h...no dice

  
  Don't do that. when you run configure ; make ; make install for vpopmail
it will install the files for you.

Ken Jones

  
  
On Wed, 2004-05-19 at 17:39, Patrick Donker wrote:


  Mark Matrafajlo wrote:
  
  
yes...could that be it ?

On Wed, 2004-05-19 at 17:14, Patrick Donker wrote:


  Mark Matrafajlo wrote:
  
  
I just can't seem to compile courier with vpopmail and mysql as a
backend.  Hopefully someone has some insight for me:

./configure --prefix=/usr/local/courier-imap --disable-root-check
--without-authpam --without-authldap --without-authpwd
--without-authmysql --without-authpgsql --without-authshadow
--without-authuserdb --without-authcustom --without-authcram
--without-authdaemon --with-authvchkpw --with-ssl



  In file included from authvchkpw.c:21:
vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No
such file or directory authvchkpw.c:23:26: vauth.h: No such file
or directory
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:174: warning: passing arg 1 of `parse_email'
discards qualifiers from pointer target type authvchkpw.c:190:
warning: implicit declaration of function `vauth_getpw'
authvchkpw.c:190: warning: assignment makes pointer from integer
without a cast authvchkpw.c:200: error: dereferencing pointer to
incomplete type authvchkpw.c:200: error: dereferencing pointer to
incomplete type authvchkpw.c:206: warning: passing arg 3 of
`vpasswd' discards qualifiers from pointer target type make[2]:
*** [authvchkpw.o] Error 1
make[2]: Leaving directory
`/usr/local/source/courier-imap-3.0.4/authlib' make[1]: *** [all]
Error 2
make[1]: Leaving directory
`/usr/local/source/courier-imap-3.0.4/authlib' make: ***
[all-recursive] Error 1
  

  
  Maybe a stupid question, but did you install vpopmail before courier?
  

  
  Ahm, no, but the error 'vpopmail_config.h:1:48:
/var/qmail/vpopmail/include/config.h: No such file or directory'
pointed in that direction
  

  



  
  

  






Re: [vchkpw] SMTP Auth HOWTO?

2004-05-21 Thread Patrick Donker

PD Ahhh...yes! A flame war...always nice :)
I quote from the one who has bringing 'the gas': EH You are joking, troll
Well, I did't start.  This list is to help people.  It's not about to be picky
or to be arrogant, if someone share another view, he has the right to put his vision
forward and to defend his case.  You can discuss topics without
insulting people and without words like 'troll', maintained in the
directory of Dr. Erwin Hoffmann.  Maybe I write terrible English, but
I am on the internet for a few decades, and some use our programs
quite a lot in their BSD stuff.  I don't need insults of someone, who
thinks to have the right to insult people, because he has a PhD.
 

Well, you dont hear me complain!


[vchkpw] Change passwd howto

2004-05-28 Thread Patrick Donker
Guys,
I use qmail + vpopmail + courier-imapd + squirrelmail.
My question is; what would be the easiest way to inplement a 
change-password option in Squirrel? I have found a plugin, but that is 
based on pam, which I dont use. I need something that uses vchkpw. My 
guess is that somebody on this list has solved this already before, so, 
why not ask ;) ?

-Patrick


[vchkpw] Change passwd howto

2004-05-30 Thread Patrick Donker
Guys,
I use qmail + vpopmail + courier-imapd + squirrelmail.
My question is; what would be the easiest way to inplement a
change-password option in Squirrel? I have found a plugin, but that is
based on pam, which I dont use. I need something that uses vchkpw. My
guess is that somebody on this list has solved this already before, so,
why not ask ;) ?
-Patrick


Re: [vchkpw] Change passwd howto

2004-05-30 Thread Patrick Donker




X-Istence wrote:

  -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrick Donker wrote:
  
  
Guys,

I use qmail + vpopmail + courier-imapd + squirrelmail.
My question is; what would be the easiest way to inplement a
change-password option in Squirrel? I have found a plugin, but that is
based on pam, which I dont use. I need something that uses vchkpw. My
guess is that somebody on this list has solved this already before, so,
why not ask ;) ?

-Patrick


  
  
There is no need to post your question to the list twice, i am pretty
sure we all read it, and even if we did not, then nobody knowns the answer.

The easiest way? Well that all depends on how your vpopmail is setup.

Do you use MySQL? cdb? PGSQL? These are all determining factors.

For all of them there are different way's that it could be done. For the
cdb based one it would be a bit harder, but i bet it could be done some
way. Check out the new php module/vpopmail deamon method and see if that
could be an option.

So far, all I know of is that plugin that uses PAM.

X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAue8JJukONu5DUaQRAipzAJ993eUizQU+FTDiJhthr1wjx+oVugCgnDPw
Cy4e3bm3o62wLNvp/ZgO6wc=
=MJ8r
-END PGP SIGNATURE-


  

Sorry for my double post, but I didnt see my first posting on the list,
so I thought something went wrong...my bad apparently...
Anyhow, I dont use any database backend, just plain old cdb. I did find
something, but for that I have to recompile imap again, so that will be
something for another day. If I got things working I'll post the
solution on this list.

-Patrick




Re: [vchkpw] Change passwd howto

2004-05-31 Thread Patrick Donker




Jean Wainer wrote:

  On Sat, 29 May 2004 00:32:58 +0200
Patrick Donker [EMAIL PROTECTED] wrote:

  
  
Guys,

I use qmail + vpopmail + courier-imapd + squirrelmail.
My question is; what would be the easiest way to inplement a 
change-password option in Squirrel? I have found a plugin, but that is 
based on pam, which I dont use. I need something that uses vchkpw. My 
guess is that somebody on this list has solved this already before, so, 
why not ask ;) ?

  
  
There's a "vpopmail" plugin for squirrelmail. The only catch is that you have to run apache as "vpopmail" user.

--Jw.


  

Really? Is it on the squirrel site? Looked there already, didnt see it..




Re: [vchkpw] Change passwd howto

2004-05-31 Thread Patrick Donker
Found it, sorry
There's a vpopmail plugin for squirrelmail. The only catch is that you have to run apache as 
vpopmail user.
--Jw.
 




Re: [vchkpw] Change passwd howto

2004-05-31 Thread Patrick Donker




Rod K wrote:

  
  
X-Istence wrote:
  
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jean Wainer wrote:
  

  snip

There's a "vpopmail" plugin for squirrelmail. The only catch is that


you have to run apache as "vpopmail" user.

Thus giving anyone that has web access or is allowed to run PHP scripts
on your server the allowance to play with vpopmail as much as they want.
If this is just a webmail based server i do think it is okay, but if i
were you i would still be worried.

  
  
I agree. Even though our server running squirrel is ONLY running
squirrel and no other sites, and no users but our staff have access, we
chose NOT to run Apache as vpopmail. Instead the PHP scripts write
data to a file and a cron job running as vpopmail on a 5 minute cycle
does sanity checks and processes the request.

Care to share?




[vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker
Hi guys,
Another thrilling question;
Has anyone already set up vsftpd using virtual users + multiple domains? 
I've read the virtual users hints, but they only mention one fixed 
directory for the virtual ftp users, whilst I need every virtual user 
have its home directory pointing to his own domain. This home directory 
is not /home/username, but /server/www/domainname. Is this doable? Note 
that I am an absolute noob on scripting or programming, so saying 'write 
a script doing this or that' wont help me a bit. Maybe there are docs 
available that I can me directed to?
Oh, before I forget, I use vpopmail 5.4.3 + courier-iman (latest) + 
qnetmail-1.05 + squirrelmail 1.4.2, and I dont use PAM (do I need to?)
-Patrick


Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker




[EMAIL PROTECTED] wrote:

  
Another thrilling question;
Has anyone already set up vsftpd using virtual users + multiple domains?
I've read the virtual users hints, but they only mention one fixed
directory for the virtual ftp users, whilst I need every virtual user
have its home directory pointing to his own domain. This home directory
is not /home/username, but /server/www/domainname. Is this doable? Note

  
  
Well, I have never used vsftpd but it stills being a simple FTPd. There's
no need from my point of view of any vhost handling on FTPd's because you
can simply have a user four each domain, i.e:

user1
-
domain: squirrelmail.org
user: sqrmail
pass: mydumbpass
home: /server/www/squirrelmail.org

user2
-
domaim: thecure.com
user: rsmith
pass: disintegration
home: /anypath/youdlike/as/long/as/it/has/user/permissions

Since all the domains will be accessing the same IP's, having the user go
to squirrelmail.org or thecure.com -asuming these are your virtual
domains, of course are not but, I'm just using them as an example- will be
transparent and the system will separate -is this a real word? heheh- them
from each other perfectly

Juan



  

This will work, ofcourse, but that would make vpopmail obsolete. I just
might as well make system users then. I want the virtual users to
chroot to their domain directory automagically. And what about people
who manage their own domain and decide to add a virtual user through
qmailadmin for administrative (ftp) purposes? 




Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker




[EMAIL PROTECTED] wrote:

  
This will work, ofcourse, but that would make vpopmail obsolete. I just
might as well make system users then. I want the virtual users to chroot
to their domain directory automagically. And what about people who
manage their own domain and decide to add a virtual user through
qmailadmin for administrative (ftp) purposes?


  
  BTW, why would that make vpopmail obsolete? I dont understand. vpopmail
handles the mail ant the system itself handles the users...

Juan


  

Because I want to use the same virtual users handled by vpopmail for
ftp usage. I dont want to manually create ftp accounts for users who
already exsist virtually. I know that vpopmail is for mail purposes,
but I should be able to access the vpopmail user database from within
vsftpd? They mention PAM as authentication, but I am totally clueless
on that...




Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker
JB wrote:
Because I want to use the same virtual users handled by vpopmail for 
ftp usage. I dont want to manually create ftp accounts for users who 
already exsist virtually. I know that vpopmail is for mail purposes, 
but I should be able to access the vpopmail user database from within 
vsftpd? They mention PAM as authentication, but I am totally clueless 
on that...

RTFM,
There is an example of virtual users setup in the EXAMPLE directory.
You might take a look at purftpd also.


You might want to concider reading the full thread before advising me 
doing something I already DID!
The example you are pointing to uses one fixed dir, while I want virtual 
users have their home dir pointed to their virtual domain home dir. Also 
I dont want to create system accounts for every virtual user


Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker
JB wrote:
You might want to concider reading the full thread before advising me 
doing something I already DID!
The example you are pointing to uses one fixed dir, while I want 
virtual users have their home dir pointed to their virtual domain 
home dir. Also I dont want to create system accounts for every 
virtual user

Then maybe you should go back and read it again or go ask on the vsftp 
list.



Or maybe you could explain it to me because I am currently googling on 
the subject and there is a whole shitload of people asking the same 
question, but nobody seems to have the solution


Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker
JB wrote:
Or maybe you could explain it to me because I am currently googling 
on the subject and there is a whole shitload of people asking the 
same question, but nobody seems to have the solution

I would setup pam to use the same ldap or mysql database as vpopmail. 
Unless you have the time and inclination to explore the subject and 
do-it-yourself, You might find it easier to use purftpd from 
http://purftpd.org/.


Thanks, I'll go for Pam. Could come in handy for future alterations as 
well I guess


Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker
JB wrote:
Or maybe you could explain it to me because I am currently googling 
on the subject and there is a whole shitload of people asking the 
same question, but nobody seems to have the solution

I would setup pam to use the same ldap or mysql database as vpopmail. 
Unless you have the time and inclination to explore the subject and 
do-it-yourself, You might find it easier to use purftpd from 
http://purftpd.org/.


Can you clue me in on what pam auth I should use? there is a whole bunch 
of libs in /libs/security; dont know which one uses vpopmail


Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker




Jeremy Kitchen wrote:

  On Wednesday 02 June 2004 07:46 am, JB wrote:
  
  

  Or maybe you could explain it to me because I am currently googling on
the subject and there is a whole shitload of people asking the same
question, but nobody seems to have the solution
  

  
  
I don't really understand how any of this really has anything to do with 
vpopmail... sounds like you're needing help configuring your ftp server, 
which, last I knew, was not what this list was for... but I could be wrong ;)
  
  
  

You are partly right; it is about vsftpd. On the other hand, I'd like
to use vpopmail's vchkpwd module as authenticator so I can use the
virtual users from qmail, who, in fact, will be the ftp users. So
basically I'd like to know how to (ab)use vpopmail pam auth in vsftpd.
Supposedly vsftpd supports pam authentication, so according to my
limited intelect it should be possible to use vchkpw...right?
I dont know anything (yet) about pam, so forgive my ignorance if this
is a trivial question :P

-Patrick




Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread Patrick Donker




Jeremy Kitchen wrote:

  On Wednesday 02 June 2004 11:37 am, Patrick Donker wrote:

  
  

  I don't really understand how any of this really has anything to do with
vpopmail... sounds like you're needing help configuring your ftp server,
which, last I knew, was not what this list was for... but I could be wrong
;)
  

You are partly right; it is about vsftpd. On the other hand, I'd like to
use vpopmail's vchkpwd module as authenticator so I can use the virtual
users from qmail, who, in fact, will be the ftp users. So basically I'd
like to know how to (ab)use vpopmail pam auth in vsftpd. Supposedly
vsftpd supports pam authentication, so according to my limited intelect
it should be possible to use vchkpw...right?
I dont know anything (yet) about pam, so forgive my ignorance if this is
a trivial question :P

  
  
pam as in .. unix pam.. it's true that vpopmail is, by definition "a pam" as 
in a pluggable authentication module, however I don't believe it can 
interface with the UNIX pam services.

-Jeremy

  

I bet you have put this on the very top of your to-do list then :)




Re: [vchkpw] webmail

2004-06-03 Thread Patrick Donker




Alexandre Vieira wrote:

  
  
  
  
  

  
  
  Hello folks, 
  
   I
heard that squirrelmail worked with POP3 accounts but in
the website it only says that support IMAP. Is there any patch/plugin
or
something to make it work with POP3? If no, is there any other good
webmail to
use with POP3 servers? 
  
  Thanks!
  

You only have to install courier-imap to make squirrel work. It is a
no-brainer installation. I'd recommend trying it.
Why dont you want to use a pop3 only solution anyway?

-Patrick




Re: [vchkpw] -- 500 server error. Password not changed

2004-06-07 Thread Patrick Donker
Fajar Priyanto wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
My squirrelmail previously can change password without any problem.
But today, when one of my user wants to change its password, there is error:
- -- server error 500. Password not changed.
What is causing this?
The version is:
vqadmin 2.3.2
vpopmail 5.4.0
squirrelmail 1.4.2
 

Which plugin do you use to change the password?


Re: [vchkpw] -- 500 server error. Password not changed

2004-06-07 Thread Patrick Donker




Fajar Priyanto wrote:

  -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 07 June 2004 03:42 pm, Patrick Donker wrote:
  
  
Fajar Priyanto wrote:


  -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
My squirrelmail previously can change password without any problem.
But today, when one of my user wants to change its password, there is
error: - -- server error 500. Password not changed.
What is causing this?

The version is:
vqadmin 2.3.2
vpopmail 5.4.0
squirrelmail 1.4.2
  

Which plugin do you use to change the password?

  
  
I use change_pass-2.6-1.4.x.tar.gz

It ran ok previously. I didn't do any change on the system, except that I 
change the user that runs httpd from apache.apache to nobody.nogroup.
Is it related?
- -- 
Fajar Priyanto | Reg'd Linux User #327841 | http://linux.arinet.org
15:48:09 up 7:34, Mandrake Linux release 9.2 (FiveStar) for i586 
public key: https://www.arinet.org/fajar-pub.key
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAxCw/kp5CsIXuxqURAuT0AKCYJN8GSoLTi65Mjovbp5QSyXEHKwCeL5GN
t3fEzH1UfKZhfy0D96oCO+E=
=4+z1
-END PGP SIGNATURE-



  

The easiest way to rule that out is to undo your latest changes. If
that is undoable for whatever reason, you should revise if there is a
rights problem




Re: [vchkpw] vpopmail-bin (vpopmail package for Debian linux)

2004-06-10 Thread Patrick Donker
Lars E. D. Jensen wrote:
Hi
Does anyone have experience with the vpopmail-bin package for Debian?
I have installed it, but clearopensmtp seems to cause heavy CPU load, 
and I don't know why.

Further I can't get mysql support work with libvpopmail-mysql package.
Maybe a bit off topic, but if someone use these package I would like 
to know how you get mysql support and clearopensmtp to work properly.

Thanks.
/Lars

I tried it and dropped it. Just install from source, so you know what it 
happening and everything is installed in the right places


[vchkpw] Troubles installing Vpopmail with mysql

2005-05-21 Thread Patrick Donker

Hi people,

I am having ./configure problems using  mysql as authmodule. This is my
commandline:
./configure \
--prefix=$PATHINSTALLVPOPMAIL \
--enable-vpopuser=$VPOPUSER \
--enable-vpopgroup=$VPOPGROUP \
--enable-roaming-users \
--enable-tcprules-prog=$TCPRULES \
--enable-relay-clear-minutes=$ENABLE_RELAY \
--enable-sqwebmail-pass \
--enable-qmail-ext \
--enable-ip-alias-domains \
--enable-domainquotas \
--enable-auth-module=$DATABASE_TYPE \
--enable-logging=p \
--enable-auth-logging \
--enable-valias \
--enable-sql-logging \
--enable-clear-passwd \
--enable-mysql-limits \
--enable-libdir=$MYSQLLIBDIR

And this is the error:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for crypt in -lcrypt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for memory.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking return type of signal handlers... void
checking whether utime accepts a null argument... yes
checking for bzero... yes
checking for dup2... yes
checking for fdatasync... yes
checking for getcwd... yes
checking for gethostname... yes
checking for getpass... yes
checking for getspnam... yes
checking for memset... yes
checking for mkdir... yes
checking for putenv... yes
checking for rmdir... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for utime... yes
checking vpopmail configure options... ok
checking whether we can locate the qmail directory... yes
checking whether we can locate the qmail-newu program... yes
checking whether we can locate the qmail-inject program... yes
checking whether we can locate the qmail-inject program... yes
checking for valid vpopmail user and group... yes
checking whether password file entry for the vpopmail user exists... yes
checking whether roaming-users has been enabled... yes
checking whether we can locate the tcprules program... yes
checking whether we can locate the tcp.smtp file... yes
checking whether rebuild-tcpserver-file is been enabled... yes
checking whether learn-passwords is enabled... no
checking whether 

Re: [vchkpw] Troubles installing Vpopmail with mysql

2005-05-21 Thread Patrick Donker

Rick Macdougall wrote:




Patrick Donker wrote:


Hi people,

I am having ./configure problems using  mysql as authmodule. This is my
commandline:
./configure \
--prefix=$PATHINSTALLVPOPMAIL \
--enable-vpopuser=$VPOPUSER \
--enable-vpopgroup=$VPOPGROUP \
--enable-roaming-users \
--enable-tcprules-prog=$TCPRULES \
--enable-relay-clear-minutes=$ENABLE_RELAY \
--enable-sqwebmail-pass \
--enable-qmail-ext \
--enable-ip-alias-domains \
--enable-domainquotas \
--enable-auth-module=$DATABASE_TYPE \
--enable-logging=p \
--enable-auth-logging \
--enable-valias \
--enable-sql-logging \
--enable-clear-passwd \
--enable-mysql-limits \
--enable-libdir=$MYSQLLIBDIR

And this is the error:




checking whether an auth module has been specified... mysql
configure: error: Unable to find your MySQL lib dir, specify
--enable-libdir.
./1.3.10.sh: line 1082: --enable-libdir=/usr/include/mysql: No such file
or directory
make: *** No targets specified and no makefile found.  Stop.
Error with vpopmail's installation (make)

All variables are correctly filled, the only error I get is about mysql
libdir. I have tried every version from 5.4.10 and up. My mysql version
is 4.1. What is it exactly configure is looking for? I dont know which
lib supposedly is missing, so I cant check either. How to troubleshoot
this? The dir /usr/include/mysql exsist. I also already have tried 
/usr/lib.

Thanks



Hi,

It's looking for the mysql libs, not includes.  On some of my systems 
it's in /usr/lib/mysql, in others it's in /usr/local/mysql/lib


A locate libmysqlclient.a should show you where yours is.


Shoot me if I understand, but I have cleaned up my env and deleted all 
files related to this build and now it suddenly works!



PS - domainquotas do not work.


So, if it doesnt work, why is it there then? Future feature?


Regards,

Rick


Thanks for your thoughts Rick