[vchkpw] vpopmail+mysql

2008-04-22 Thread Dhaval Thakar

Dear All,

i am trying to compile vpopmail (5.4.24) with mysql

I used
./configure --enable-logging=p --enable-auth-module=mysql 
--disable-passwd --enable-clear-passwd --disable-many-domains 
--enable-auth-logging --enable-sql-logging --enable-valias 
--disable-mysql-limits --enable-incdir=/usr/lib/mysql 
--enable-onchange-script --enable-libdir=/var/lib/mysql 
--enable-libdir=/usr/lib/mysql



vpopmail 5.4.24
Current settings
---

vpopmail directory = /home/vpopmail
domains directory = /home/vpopmail/domains
uid = 508
gid = 503
roaming users = OFF --disable-roaming-users (default)
password learning = OFF --disable-learn-passwords (default)
md5 passwords = ON --enable-md5-passwords (default)
file locking = ON --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
make seekable = ON --enable-make-seekable (default)
clear passwd = ON --enable-clear-passwd (default)
user dir hashing = ON --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
ip alias = OFF --disable-ip-alias-domains (default)
onchange script = ON --enable-onchange-script
auth module = mysql --enable-auth-module=mysql
mysql replication = OFF --disable-mysql-replication (default)
sql logging = ON --enable-sql-logging
mysql limits = OFF --disable-mysql-limits (default)
SQL valias table = ON --enable-valias
auth inc = -I/usr/lib/mysql
auth lib = -L/usr/lib/mysql -lmysqlclient -lz -lm
system passwords = OFF --disable-passwd (default)
pop syslog = show failed attempts with clear text password 
--enable-logging=p

auth logging = ON --enable-auth-logging (default)
one domain per SQL table = --disable-many-domains
spamassassin = OFF --disable-spamassassin (default)
maildrop = OFF --disable-maildrop (default)


during make, i am getting following error

vauth.c:33:19: error: mysql.h: No such file or directory
vauth.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘mysql_update’
vauth.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘mysql_read_getall’
vauth.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘*’ token
vauth.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘*’ token
vauth.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘row’
vauth.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘row_getall’

vauth.c: In function ‘vauth_open_update’:
vauth.c:206: warning: implicit declaration of function ‘mysql_ping’
vauth.c:206: error: ‘mysql_update’ undeclared (first use in this function)
vauth.c:206: error: (Each undeclared identifier is reported only once
vauth.c:206: error: for each function it appears in.)
vauth.c:212: warning: implicit declaration of function ‘mysql_init’
vauth.c:213: warning: implicit declaration of function ‘mysql_options’
vauth.c:213: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use in 
this function)

vauth.c:216: warning: implicit declaration of function ‘mysql_real_connect’
vauth.c:226: warning: implicit declaration of function ‘mysql_select_db’
vauth.c:230: warning: implicit declaration of function ‘mysql_query’
vauth.c:236: warning: implicit declaration of function ‘mysql_error’
vauth.c:236: warning: format ‘%s’ expects type ‘char *’, but argument 4 
has type ‘int’

vauth.c: In function ‘vauth_open_read_getall’:
vauth.c:316: error: ‘mysql_read_getall’ undeclared (first use in this 
function)

vauth.c: In function ‘vauth_create_table’:
vauth.c:343: error: ‘mysql_update’ undeclared (first use in this function)
vauth.c:346: warning: format ‘%s’ expects type ‘char *’, but argument 4 
has type ‘int’

vauth.c: In function ‘vauth_adduser’:
vauth.c:428: error: ‘mysql_update’ undeclared (first use in this function)
vauth.c:429: warning: format ‘%s’ expects type ‘char *’, but argument 3 
has type ‘int’

vauth.c: In function ‘vauth_getpw’:
vauth.c:480: error: ‘mysql_update’ undeclared (first use in this function)
vauth.c:481: warning: format ‘%s’ expects type ‘char *’, but argument 3 
has type ‘int’
vauth.c:504: warning: format ‘%s’ expects type ‘char *’, but argument 3 
has type ‘int’

vauth.c:509: error: ‘res_update’ undeclared (first use in this function)
vauth.c:509: warning: implicit declaration of function ‘mysql_store_result’
vauth.c:514: warning: implicit declaration of function ‘mysql_num_rows’
vauth.c:515: warning: implicit declaration of function ‘mysql_free_result’
vauth.c:533: error: ‘row’ undeclared (first use in this function)
vauth.c:533: warning: implicit declaration of function ‘mysql_fetch_row’
vauth.c: In function ‘vauth_deldomain’:
vauth.c:582: error: ‘mysql_update’ undeclared (first use in this function)
vauth.c: In function ‘vauth_deluser’:
vauth.c:636: error: ‘mysql_update’ undeclared (first use in this function)
vauth.c: In function ‘vauth_setquota’:
vauth.c:687: error: ‘mysql_update’ undeclared (first use in this function)
vauth.c:688: warning: format ‘%s’ expects type ‘char 

Re: [vchkpw] Enable / disable pop access

2008-04-22 Thread Wouter van der Schagt

Just for future reference for others.

I modified vmoduser.c. Basically you change the |= to ^=, of course this
is not the desired behaviour, but perhaps it can help others. Ideally
there are seperate flags (perhaps capitalized) that will turn the respective
flags on and off. If i've time i will look into this.

Line 84 and Line 110 was:
if ( GidFlag != 0 ) mypw-pw_gid |= GidFlag;
Change to:
if ( GidFlag != 0 ) mypw-pw_gid ^= GidFlag;

the flags now flip. it will set if unset and unset if set.

- Wouter

- Original Message - 
From: Tom Collins [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Tuesday, April 22, 2008 1:55 PM
Subject: Re: [vchkpw] Enable / disable pop access



On Apr 17, 2008, at 10:39 AM, Wouter van der Schagt wrote:

Hi all, i have a question.

I know with moduser -p domain.com i can disable pop access.
And i know with -x i can clear all bits and enable it again. However
i dont want to clear all bits.. i just want to flip the -p bit. Any
ideas?

- Wouter



Unfortunately, no easy way.  Some time ago, the developers had  discussed 
different options (using + and - before each flag to set  and clear), but 
nothing ever came of it.  Having checkboxes in  QmailAdmin would be a nice 
way to handle it as well, if someone had  some time to add it.


-Tom










!DSPAM:480d9558120502199180232!



Re: [vchkpw] vpopmail+mysql

2008-04-22 Thread Quey
Why you want to use fedora on a production server I'll never know,  
but as usual with everything butchered to buggery by RH, you dont  
have the headers files, so you need to install the  -devel packages  
of mysql (and anything you want to build against), if your not  
commited try a decent server OS like Slackware or one of the BSD's



On 22/04/08 16:22:08, Dhaval Thakar wrote:

Dear All,

i am trying to compile vpopmail (5.4.24) with mysql

I used
./configure --enable-logging=p --enable-auth-module=mysql -- 
disable-passwd --enable-clear-passwd --disable-many-domains -- 
enable-auth-logging --enable-sql-logging --enable-valias --disable- 
mysql-limits --enable-incdir=/usr/lib/mysql --enable-onchange- 
script --enable-libdir=/var/lib/mysql --enable-libdir=/usr/lib/ 
mysql



vpopmail 5.4.24
Current settings
---

vpopmail directory = /home/vpopmail
domains directory = /home/vpopmail/domains
uid = 508
gid = 503
roaming users = OFF --disable-roaming-users (default)
password learning = OFF --disable-learn-passwords (default)
md5 passwords = ON --enable-md5-passwords (default)
file locking = ON --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
make seekable = ON --enable-make-seekable (default)
clear passwd = ON --enable-clear-passwd (default)
user dir hashing = ON --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
ip alias = OFF --disable-ip-alias-domains (default)
onchange script = ON --enable-onchange-script
auth module = mysql --enable-auth-module=mysql
mysql replication = OFF --disable-mysql-replication (default)
sql logging = ON --enable-sql-logging
mysql limits = OFF --disable-mysql-limits (default)
SQL valias table = ON --enable-valias
auth inc = -I/usr/lib/mysql
auth lib = -L/usr/lib/mysql -lmysqlclient -lz -lm
system passwords = OFF --disable-passwd (default)
pop syslog = show failed attempts with clear text password -- 
enable-logging=p

auth logging = ON --enable-auth-logging (default)
one domain per SQL table = --disable-many-domains
spamassassin = OFF --disable-spamassassin (default)
maildrop = OFF --disable-maildrop (default)


during make, i am getting following error

vauth.c:33:19: error: mysql.h: No such file or directory
vauth.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’  
before ‘mysql_update’
vauth.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’  
before ‘mysql_read_getall’
vauth.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’  
before ‘*’ token
vauth.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’  
before ‘*’ token
vauth.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’  
before ‘row’
vauth.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’  
before ‘row_getall’

vauth.c: In function ‘vauth_open_update’:
vauth.c:206: warning: implicit declaration of function ‘mysql_ping’
vauth.c:206: error: ‘mysql_update’ undeclared (first use in this  
function)
vauth.c:206: error: (Each undeclared identifier is reported only  
once

vauth.c:206: error: for each function it appears in.)
vauth.c:212: warning: implicit declaration of function ‘mysql_init’
vauth.c:213: warning: implicit declaration of function  
‘mysql_options’
vauth.c:213: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first  
use in this function)
vauth.c:216: warning: implicit declaration of function  
‘mysql_real_connect’
vauth.c:226: warning: implicit declaration of function  
‘mysql_select_db’
vauth.c:230: warning: implicit declaration of function  
‘mysql_query’
vauth.c:236: warning: implicit declaration of function  
‘mysql_error’
vauth.c:236: warning: format ‘%s’ expects type ‘char *’, but  
argument 4 has type ‘int’

vauth.c: In function ‘vauth_open_read_getall’:
vauth.c:316: error: ‘mysql_read_getall’ undeclared (first use in  
this function)

vauth.c: In function ‘vauth_create_table’:
vauth.c:343: error: ‘mysql_update’ undeclared (first use in this  
function)
vauth.c:346: warning: format ‘%s’ expects type ‘char *’, but  
argument 4 has type ‘int’

vauth.c: In function ‘vauth_adduser’:
vauth.c:428: error: ‘mysql_update’ undeclared (first use in this  
function)
vauth.c:429: warning: format ‘%s’ expects type ‘char *’, but  
argument 3 has type ‘int’

vauth.c: In function ‘vauth_getpw’:
vauth.c:480: error: ‘mysql_update’ undeclared (first use in this  
function)
vauth.c:481: warning: format ‘%s’ expects type ‘char *’, but  
argument 3 has type ‘int’
vauth.c:504: warning: format ‘%s’ expects type ‘char *’, but  
argument 3 has type ‘int’
vauth.c:509: error: ‘res_update’ undeclared (first use in this  
function)
vauth.c:509: warning: implicit declaration of function  
‘mysql_store_result’
vauth.c:514: warning: implicit declaration of function  
‘mysql_num_rows’
vauth.c:515: warning: implicit declaration of function  
‘mysql_free_result’

vauth.c:533: error: ‘row’ undeclared (first use in this function)
vauth.c:533: warning: implicit 

Re: [vchkpw] vpopmail+mysql (KMM3511892I87L0KM)

2008-04-22 Thread Wachovia Service
Dear Customer,

Thank you for contacting Wachovia.  

This message is in response to your recent communication, which was 
received on 04/22/2008 and assigned Case ID 27119495.

I regret the message we received was unclear.  Please send us another 
secure e-mail with additional information regarding your inquiry.  We 
will be happy to assist you in addressing your concerns when we receive 
further details.  You may also call us at the number listed below for 
assistance.

I sincerely apologize for any inconvenience.

If you have additional questions or concerns, please contact us via 
e-mail or call 800-950-2296.  Representatives are available to assist 
you 24 hours a day, seven days a week.

I value your business as a Wachovia customer and look forward to 
continuing to serve your financial needs.  Visit us again at 
wachovia.com.

Note:  Wachovia requires the use of secure browsers to protect you while
you access our on-line financial services over the Internet.  However, 
information sent by electronic mail cannot utilize the same standards of
securing your personal information that secure browsers afford.  
Therefore, do not send confidential information such as account numbers 
or social security numbers through e-mail.


Sincerely, 

LaToya B



Original Message Excluded:
-


|1364Wach1364|

!DSPAM:480e01be120501367316094!



RE: [vchkpw] vsetuserquota

2008-04-22 Thread D. Hilbig

Do you have a program other than vdelivermail writing the message to your
Maildir?  I.E. Did you modify the .qmail-default file or create a custom
.qmail file for the user?  Whatever program actually writes the message to
the Maildir is responsible for updating maildirsize.

The qmail maildir++ patch is for qmail-local and qmail-pop3d.  If
qmail-local is not delivering directly to the Maildir and you aren't using
qmail's pop3d, there is no need for the patch. 

And not that it should affect the updating of maildirsize, but if your
maildirsize is as you described below, then it is wrong.  Mailbox size is
specified in bytes with an appended capital S:

10S
0 0


-Original Message-
From: Wouter van der Schagt [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 21, 2008 9:54 AM
To: vchkpw@inter7.com
Subject: [vchkpw] vsetuserquota

Hi all,

When i run vsetuserquota domein.com 100k a maildirsize file is
created in the Maildir of a popbox. So far so good. The contents
of this file, is:

100K
0 0

Since there are no messages in the mailbox at the moment, I assume
this is correct. The file is set to vpopmail:vchkpw (chmod 600).
I'm assuming this is also correct.

Now when a mail is delivered there Qmail 1.03, this file is not
updated. Why?

When I delete an email thru POP, it is also not updated. Why?
I applied the qmail-maildir++ patch that is in the /contrib folder
of vpopmail 5.4

Dit i forget to do anything?

Sincerely,
- Wouter van der Schagt





!DSPAM:480e17a2120502112715705!



Re: [vchkpw] vsetuserquota

2008-04-22 Thread Wouter van der Schagt

Thank you for your response, in answer to your questions.


Do you have a program other than vdelivermail writing the message to your
Maildir


No, just using qmail + vpopmail installation, here's an example 
.qmail-default

line (.qmail files are similar): DOMAIN contains the domainname.

| /home/vpopmail/bin/vdelivermail '' 
/home/vpopmail/domains/DOMAIN/postmaster



The qmail maildir++ patch is for qmail-local and qmail-pop3d.  If
qmail-local is not delivering directly to the Maildir and you aren't using
qmail's pop3d, there is no need for the patch.


I'm using qmail's pop3d


And not that it should affect the updating of maildirsize, but if your
maildirsize is as you described below, then it is wrong.  Mailbox size is
specified in bytes with an appended capital S:

10S
0 0


I executed it as such: vsetuserquota email 100k
It didnt return an errormessage..should i specify it otherwise? am running
vpopmail 5.4.0 at the moment.

Sincerely,
- Wouter van der Schagt 



!DSPAM:480e1b20120506677283926!



RE: [vchkpw] vpopmail+mysql

2008-04-22 Thread D. Hilbig

Dhaval,

For now, you shouldn't specify the --enable-auth-logging option because
it's got bugs up through v5.4.26.

Like Quey said, you'll need the mysql-devel package.  

And as for Fedora on a production server, you might want to consider an
alternative.  I use CentOS (http://www.centos.org) which is effectively a
RHEL production release.






-Original Message-
From: Quey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 22, 2008 12:44 AM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vpopmail+mysql

Why you want to use fedora on a production server I'll never know,  
but as usual with everything butchered to buggery by RH, you dont  
have the headers files, so you need to install the  -devel packages  
of mysql (and anything you want to build against), if your not  
commited try a decent server OS like Slackware or one of the BSD's


On 22/04/08 16:22:08, Dhaval Thakar wrote:
 Dear All,
 
 i am trying to compile vpopmail (5.4.24) with mysql
 
 I used
 ./configure --enable-logging=p --enable-auth-module=mysql -- 
 disable-passwd --enable-clear-passwd --disable-many-domains -- 
 enable-auth-logging --enable-sql-logging --enable-valias --disable- 
 mysql-limits --enable-incdir=/usr/lib/mysql --enable-onchange- 
 script --enable-libdir=/var/lib/mysql --enable-libdir=/usr/lib/ 
 mysql
 
 
 vpopmail 5.4.24
 Current settings
 ---
 
 vpopmail directory = /home/vpopmail
 domains directory = /home/vpopmail/domains
 uid = 508
 gid = 503
 roaming users = OFF --disable-roaming-users (default)
 password learning = OFF --disable-learn-passwords (default)
 md5 passwords = ON --enable-md5-passwords (default)
 file locking = ON --enable-file-locking (default)
 vdelivermail fsync = OFF --disable-file-sync (default)
 make seekable = ON --enable-make-seekable (default)
 clear passwd = ON --enable-clear-passwd (default)
 user dir hashing = ON --enable-users-big-dir (default)
 address extensions = OFF --disable-qmail-ext (default)
 ip alias = OFF --disable-ip-alias-domains (default)
 onchange script = ON --enable-onchange-script
 auth module = mysql --enable-auth-module=mysql
 mysql replication = OFF --disable-mysql-replication (default)
 sql logging = ON --enable-sql-logging
 mysql limits = OFF --disable-mysql-limits (default)
 SQL valias table = ON --enable-valias
 auth inc = -I/usr/lib/mysql
 auth lib = -L/usr/lib/mysql -lmysqlclient -lz -lm
 system passwords = OFF --disable-passwd (default)
 pop syslog = show failed attempts with clear text password -- 
 enable-logging=p
 auth logging = ON --enable-auth-logging (default)
 one domain per SQL table = --disable-many-domains
 spamassassin = OFF --disable-spamassassin (default)
 maildrop = OFF --disable-maildrop (default)
 
 
 during make, i am getting following error
 
 vauth.c:33:19: error: mysql.h: No such file or directory
 vauth.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__'  
 before 'mysql_update'
 vauth.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__'  
 before 'mysql_read_getall'
 vauth.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__'  
 before '*' token
 vauth.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__'  
 before '*' token
 vauth.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__'  
 before 'row'
 vauth.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__'  
 before 'row_getall'
 vauth.c: In function 'vauth_open_update':
 vauth.c:206: warning: implicit declaration of function 'mysql_ping'
 vauth.c:206: error: 'mysql_update' undeclared (first use in this  
 function)
 vauth.c:206: error: (Each undeclared identifier is reported only  
 once
 vauth.c:206: error: for each function it appears in.)
 vauth.c:212: warning: implicit declaration of function 'mysql_init'
 vauth.c:213: warning: implicit declaration of function  
 'mysql_options'
 vauth.c:213: error: 'MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first  
 use in this function)
 vauth.c:216: warning: implicit declaration of function  
 'mysql_real_connect'
 vauth.c:226: warning: implicit declaration of function  
 'mysql_select_db'
 vauth.c:230: warning: implicit declaration of function  
 'mysql_query'
 vauth.c:236: warning: implicit declaration of function  
 'mysql_error'
 vauth.c:236: warning: format '%s' expects type 'char *', but  
 argument 4 has type 'int'
 vauth.c: In function 'vauth_open_read_getall':
 vauth.c:316: error: 'mysql_read_getall' undeclared (first use in  
 this function)
 vauth.c: In function 'vauth_create_table':
 vauth.c:343: error: 'mysql_update' undeclared (first use in this  
 function)
 vauth.c:346: warning: format '%s' expects type 'char *', but  
 argument 4 has type 'int'
 vauth.c: In function 'vauth_adduser':
 vauth.c:428: error: 'mysql_update' undeclared (first use in this  
 function)
 vauth.c:429: warning: format '%s' expects type 'char *', but  
 argument 3 has type 'int'
 vauth.c: In function 'vauth_getpw':
 vauth.c:480: error: 'mysql_update' undeclared (first use 

Re: [vchkpw] vpopmail+mysql

2008-04-22 Thread Dhaval Thakar

dear list,

thanks for the guidance,

my problem is solved once after installation of devel package.

during next upgradation i'll switch to centos.

thanks  regards
dhaval

D. Hilbig wrote:

Dhaval,

For now, you shouldn't specify the --enable-auth-logging option because
it's got bugs up through v5.4.26.

Like Quey said, you'll need the mysql-devel package.  


And as for Fedora on a production server, you might want to consider an
alternative.  I use CentOS (http://www.centos.org) which is effectively a
RHEL production release.






-Original Message-
From: Quey [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 22, 2008 12:44 AM

To: vchkpw@inter7.com
Subject: Re: [vchkpw] vpopmail+mysql

Why you want to use fedora on a production server I'll never know,  
but as usual with everything butchered to buggery by RH, you dont  
have the headers files, so you need to install the  -devel packages  
of mysql (and anything you want to build against), if your not  
commited try a decent server OS like Slackware or one of the BSD's



On 22/04/08 16:22:08, Dhaval Thakar wrote:
  

Dear All,

i am trying to compile vpopmail (5.4.24) with mysql

I used
./configure --enable-logging=p --enable-auth-module=mysql -- 
disable-passwd --enable-clear-passwd --disable-many-domains -- 
enable-auth-logging --enable-sql-logging --enable-valias --disable- 
mysql-limits --enable-incdir=/usr/lib/mysql --enable-onchange- 
script --enable-libdir=/var/lib/mysql --enable-libdir=/usr/lib/ 
mysql



vpopmail 5.4.24
Current settings
---

vpopmail directory = /home/vpopmail
domains directory = /home/vpopmail/domains
uid = 508
gid = 503
roaming users = OFF --disable-roaming-users (default)
password learning = OFF --disable-learn-passwords (default)
md5 passwords = ON --enable-md5-passwords (default)
file locking = ON --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
make seekable = ON --enable-make-seekable (default)
clear passwd = ON --enable-clear-passwd (default)
user dir hashing = ON --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
ip alias = OFF --disable-ip-alias-domains (default)
onchange script = ON --enable-onchange-script
auth module = mysql --enable-auth-module=mysql
mysql replication = OFF --disable-mysql-replication (default)
sql logging = ON --enable-sql-logging
mysql limits = OFF --disable-mysql-limits (default)
SQL valias table = ON --enable-valias
auth inc = -I/usr/lib/mysql
auth lib = -L/usr/lib/mysql -lmysqlclient -lz -lm
system passwords = OFF --disable-passwd (default)
pop syslog = show failed attempts with clear text password -- 
enable-logging=p

auth logging = ON --enable-auth-logging (default)
one domain per SQL table = --disable-many-domains
spamassassin = OFF --disable-spamassassin (default)
maildrop = OFF --disable-maildrop (default)


during make, i am getting following error

vauth.c:33:19: error: mysql.h: No such file or directory
vauth.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'mysql_update'
vauth.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'mysql_read_getall'
vauth.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before '*' token
vauth.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before '*' token
vauth.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'row'
vauth.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'row_getall'

vauth.c: In function 'vauth_open_update':
vauth.c:206: warning: implicit declaration of function 'mysql_ping'
vauth.c:206: error: 'mysql_update' undeclared (first use in this  
function)
vauth.c:206: error: (Each undeclared identifier is reported only  
once

vauth.c:206: error: for each function it appears in.)
vauth.c:212: warning: implicit declaration of function 'mysql_init'
vauth.c:213: warning: implicit declaration of function  
'mysql_options'
vauth.c:213: error: 'MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first  
use in this function)
vauth.c:216: warning: implicit declaration of function  
'mysql_real_connect'
vauth.c:226: warning: implicit declaration of function  
'mysql_select_db'
vauth.c:230: warning: implicit declaration of function  
'mysql_query'
vauth.c:236: warning: implicit declaration of function  
'mysql_error'
vauth.c:236: warning: format '%s' expects type 'char *', but  
argument 4 has type 'int'

vauth.c: In function 'vauth_open_read_getall':
vauth.c:316: error: 'mysql_read_getall' undeclared (first use in  
this function)

vauth.c: In function 'vauth_create_table':
vauth.c:343: error: 'mysql_update' undeclared (first use in this  
function)
vauth.c:346: warning: format '%s' expects type 'char *', but  
argument 4 has type 'int'

vauth.c: In function 'vauth_adduser':
vauth.c:428: error: 'mysql_update' undeclared (first use in this  
function)
vauth.c:429: warning: format '%s' expects type 'char *', but  
argument 3 has