1 message in net.sourceforge.lists.courier-users[courier-users] LDAP_HOMEDIR constant...
FromSent OnAttachments
Meder BakirovApr 21, 2003 12:44 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] LDAP_HOMEDIR constant attributeActions...
From:Meder Bakirov (baki@transfer.kg)
Date:Apr 21, 2003 12:44:45 am
List:net.sourceforge.lists.courier-users

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Dear all!

I host virtual mail users on my system using Postfix + Courier-Imap + Openldap.

Virtual users' maildirs on my filesystem look like:

/var/spool/mail/domains/${virtual domain}/${username}/

with "/var/spool/mail/domains" being a "homeDirectory" and constant for all my virtual users.

I have configured LDAP_HOMEDIR parameter in "authldaprc" as follows:

authldaprc: ... LDAP_HOMEDIR homeDirectory ...

And a normal virtual mail account in LDAP looks like this: ... homeDirectory: /var/spool/mail/domains mailDir: ${virtual domain}/${username}/ ...

again with constant "homeDirectory" for all my virtual users.

Is it possible to specify an absolute path to homeDirectory in LDAP_HOMEDIR parameter in authldaprc? Sth. like this:

authldaprc: ... LDAP_HOMEDIR /var/spool/mail/domains ...

without redundant "homeDirectory" attribute in every virtual mail account's entry, because it's, anyway, a constant value in case of virtual mail hosting.

Thank you very much!

Rgrds! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+o6FXiHZXWv0HWscRAqGZAJ4yoZgweFopkXCcATdpdyuhOw4angCbBW5T zyohWR4S7v9nxMkd7Pu2T14= =tE/S -----END PGP SIGNATURE-----