P Bielecki wrote:
> But I really need to have LDAP_HOMEDIR point to /usr/local/virtual
> and LDAP_MAILDIR to be "[EMAIL PROTECTED]/"
>
> So when maildrop test -e HOMEDIR , see that /usr/local/virtual exists
> will be able to chroot to it and create MAILDIR ([EMAIL PROTECTED]) for
> user.

Does maildrop test -e HOMEDIR get the homedirectory from authdaemon? or 
direct from ldap?

because authtest returns for Home Directory the concatenation of 
LDAP_MAILDIR and LDAP_HOMEDIR

In which case you leave the LDAP_HOMEDIR blank, and authlib will return 
LDAP_MAILDIR as the same home directory for everyone, and set your MAILDIR 
to whatever ldap element holds the email address.

What you are doing though makes all users share the same home directory, but 
use different maildirs, but your .mailfilter files will be stored in the 
home directory, so won't each new users .mailfilter overwrite everyone elses 
since they'll all share the same .mailfilter file since they're all sharing 
the same home directory??

Its no real burden to give them seperate home directories and have the 
maildirs stored below that, and it opens up much more flexibility in your 
system at the end of the day.

 -Enda.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to