søn, 08.02.2004 kl. 14.54 skrev Petri Riihikallio:
Is there any way of telling LDAP that homeDirectory and mailbox are on
different machines (hosts)? Google has given a single result: "No, you'd
have to use NFS to mount both on the same host". This seems to make
sense, given the cosine.schema host attribute. But, all the same, is it
possible to define "another host for mailbox"?
I am not sure I understand what you are after.
A user has a local login - in his home directory. His mail comes into a
different (mailbox) directory. The user should have no access to his
mailbox directory other than through IMAPD. On the other hand, certain
users should be able to use their home directories for mail.
How would Maildrop access this remote mailbox?
By doing an suid, either to the user or a virtual user, such as vmail
(http://www.the-djs.com/%7Ejoenix/vriesman.tk/postfix-courier-ldap-howto.html)
Maildrop really needs to have write access to the Maildir to deliver
the messages.
I've got it so far that parallel homeDirectory and mailbox on the same
machine work. But at the moment, the maildrop suid is to the user, while
it should be able to be set to the vmail user where this is necessary.
This is basically a schizophrenic operation :) Maybe I can do that with
Postfix/LDAP maps.
NFS is the most common method to make remote directories accessible
for basic Unix file create/open/write/close. You could use AFS, CODA
or Samba for the same purpose. Maildrop can't use IMAP or DAV to
deliver messages.
I realize that maildrop can't use IMAP to deliver messages.
The other case is when you run Maildrop on the Maildir host. Then
Maildrop would need read access to the user's remote homedir.
He wouldn't hae a remote homeDir, just a mailbox. I'll go away and think
again. Thanks for making me think it over :)
--Tonni
mail: billy - at - billy.demon.nl
http://www.billy.demon.nl