it seems to me a far more permanent and scalable solution would be to select pw_name, pw_domain where pw_dir=DIR in the database. it is conceivable that [EMAIL PROTECTED]'s maildir be located in /some/where/else/joe/Maildir
That's a good option for non-cdb setups. Perhaps the maildir_to_email() function could be a part of the "backend" .c file that gets compiled in (e.g., cdb, mysql, etc.).
-- Tom Collins [EMAIL PROTECTED]