On 2003-08-20, Sam Varshavchik wrote:
> Georg Lutz writes:
> 
> >On 2003-08-20, Sam Varshavchik wrote:
> >>>
> >>>So what do you think is the best solution for this problem?
> >>
> >>LDAP_DEFAULTDELIVERY mailbox
> >>
> >>
> >
> >Will this work together with maildrop/filtering?
> >
> >In /etc/courier/courierd I have
> >DEFAULTDELIVERY="|/usr/lib/courier/bin/maildrop -w 90"
> 
> No.  You'll just have to explicitly specify the location of the default 
> mailbox in the maildrop recipe.
> 


Ok, got it finally working:

In order to enable filtering I have to set LDAP_DEFAULTDELIVERY to
defaultdelivery and the attribute defaultdelivery to
"|/usr/lib/courier/bin/maildrop -w 90" .

Now maildrop looks at LDAP_HOMEDIR to determine the location of
.mailfilter or when its not existant to deliver to ~./Maildir . But :
system users exists with their real homedir and the corresponding
mail-account is virtual, so I cannot use the attribute homeDirectory.

What i have done:
- commented out LDAP_MAILDIR in authldaprc
- set LDAP_HOMEDIR to mailbox in authldaprc
- changed the attribute "mailbox" from /daten/courier-imap/user/Maildir
  to /daten/courier-imap/user


Of course this is a misuse of the "mailbox"-attribute. It would be nice
to have an attribute like "virtualhomedir" ... 


-- 
Georg


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to