tonix (Antonio Nati) wrote:

I feel it would be nice if it could be developed another set of "robust" vpopmail calls.

What if you had vauth_open() which you can call early in the program. If it returns 0, you have a valid authentication connection and can expect later calls to work. If it returns any other value it is the error returned trying to open the authentication database.

You don't have to call it, all the existing calls will open the database if they are called first. (Like they already do.) This gives you a way to check the authentication connection without retrieving any data.


Reply via email to