Hello everyone. I'm currently virtualhosting using a mysql backend, and am in the process of migrating this setup to an LDAP directory.
I'm currently storring my mail in /home/vmail/domain/user by means of the following in my authmysqlrc: MYSQL_HOME_FIELD '/home/vmail' MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/') I understand that this is only made possible through creative SQL syntax, but I realy like the simplicity of this as compared to having the value set in each LDAP query. Is there a way of doing something similar to this either through authmodule.ldap or through similarly creative LDAP syntax? perhaps a format flag simalar to postfix? result_attribute = mail result_format = %d/%u/ Thanks in advance for any help you may be able to provide (PS. for ease of replying to messages, please CC: me on any replies to this email) Regards, Chris Bennett ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
