I have complex vpopmail setups with domains owned by different system users. The current version of qmailadmin doesn't work in such situations. The attached patch checks if qmailadmin is running as root user, and in that case sets appropriate effective user id/gid for logged user (as defined in database).
Patch
Thanks. I will look into this further for 1.4