Guess #2:

Is it possible the ACLs aren't set correctly?  The qmail process might not be
able to read either the /var/qmail/control entry or the dirmaker script - or the
script itself might not have the right permissions to create the subdirectory. I
think the script will run under the context of ldapUID and ldapGID if you're
using virtual users.



            -neil


Quoting David Rodriguez Fernandez <[EMAIL PROTECTED]>:

> Hi Neil
> I have used -DAUTOHOMEDIRMAKE and y not make the MailDir. :(
> 
> [EMAIL PROTECTED] wrote:
> 
> > Hello David, 
> >  
> > I think you need to use -DAUTOHOMEDIRMAKE in order for it to run your
> external 
> > script.  I believe -DAUTOMAILDIRMAKE only creates the maildir (ie.
> cur,new,and 
> > tmp) and doesn't actually run the external script. 
> >  
> > Could be wrong though ;)  I enabled them both and the homedir/maildir
> (which 
> > are the same for my installation) does get created by the dirmaker script.
> 
> >  
> >  
> >  
> >          -neil 
> >  
> >  
> > Quoting David Rodriguez Fernandez <[EMAIL PROTECTED]>: 
> >  
> > 
> >>Hi again. 
> >>    I have configured qmail to work with LDAP and store the configuration 
> >>
> > in  
> > 
> >>an LDAP tree. 
> >> 
> >>I have addedd to the Makefile MDIRMAKE=-DAUTOMAILDIRMAKE 
> >>but don't tries to make the directory. 
> >> 
> >>I have added an attribute to LDAP: 
> >>dirMaker: /var/qmail/customdirmaker 
> >> 
> >>and 
> >># cat /var/qmail/customdirmaker 
> >>#!/bin/sh 
> >>/bin/mkdir -p -m 700 $1 
> >> 
> >> 
> >> 
> >>Any suggestions? 
> >> 
> >> 
> >> 
> >> 
> >>P.D.: 
> >>  Sorry I'm not a native speaker. 
> >> 
> >> 
> >>
> >  
> >  
> > 
> > 
> 
> 
> 




Reply via email to