[courier-users] LDAP Vitualhosting

This is a discussion on [courier-users] LDAP Vitualhosting within the Courier-Imap forums, part of the Mail Servers and Related category; Hello everyone. I'm currently virtualhosting using a mysql backend, and am in the process of migrating this setup to ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-22-2006
Chris Bennett
 
Posts: n/a
Default [courier-users] LDAP Vitualhosting

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?p...rge&CID=DEVDEV
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0