You have to set the environment to pick up the library paths before running
the configure script. See FAQ No. 28 in the new vpopmail. i.e.
28. How do I compile sqwebmail with vpopmail and mysql?
At the begining of your sqwebmail configure add this:
env "LIBS=-L/usr/lib/mysql -lmysql
I will be replying to the previous queries re: support tonight.
In the meantime, here is a problem I have run into with sqwebmail being
setup.
e/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setquota_size':
/home/archives/vpopmail-4.9.10/vauth.c:363: undefined reference to
`mysql_query