This one time, at band camp, [EMAIL PROTECTED] wrote:
> Hi 
> 
> My Qmail-ldap is working .but i have to create user directory manually before 
> sending the mail to that user. If dir not created than it show the log as per 
> below.
> =========================================================================
> @4000000042ee2e122edf4a5c info msg 114646: bytes 225 from <[EMAIL PROTECTED]> 
> qp 25419
> uid 0
> @4000000042ee2e122f262ae4 starting delivery 151: msg 114646 to local 
> [EMAIL PROTECTED]
> @4000000042ee2e122f263e6c status: local 1/10 remote 0/20
> @4000000042ee2e1231c5ff2c delivery 151: deferral: 
> Unable_to_switch_to_/var/qmail/maildirs/spd7/:_file_does_not_exist._(#4.3.0)/
> @4000000042ee2e1231c6169c status: local 0/10 remote 0/20
> ======================================================================
> 
> I have enabled the options in Makefile..
> MDIRMAKE=-DAUTOMAILDIRMAKE
> HDIRMAKE=-DAUTOHOMEDIRMAKE

OK, that should be fine

> 
> also i have created the file dirmaker as per below.
> 
> [EMAIL PROTECTED] control]# ls -l dirmaker
> -rwxr-xr-x    1 root     root           25 Jul 31 11:02 dirmaker
> [EMAIL PROTECTED] control]# cat dirmaker
> /var/qmail/bin/dirmaker1
> 
>                   &&&
> 
> [EMAIL PROTECTED] bin]# pwd
> /var/qmail/bin
> [EMAIL PROTECTED] bin]# ls -l dirmaker1
> -rwxr-xr-x    1 root     root           29 Jul 31 11:44 dirmaker1
> [EMAIL PROTECTED] bin]# cat dirmaker1
> #!/bin/sh
> mkdir -m 700 -p $1
> [EMAIL PROTECTED] bin]#

Why not use maildirmake that comes with qmail-ldap?

> 
> Though i have created the above file..i have to create the user directory 
> manually with /bin/maildirmake script ..not above..
> 
> my maildirs directory permission is vmail:vmail

In your control directory have you got ldapuid and ldapgid set to the above?

> So pl let me know how to created automatically directory .....

I use ldapmessagestore in my control directory to obtain the base - ie 
# cat ldapmessagestore
/var/qmail/mail/

(ensuring I have trailing slash)

then in the user's entries similar to:

mailMessageStore: s/c/scottryan

Never given me any issues.

> 
> Thanks in advance
> 
> -suhag.
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> 

-- 
slr,

ISP Systems Specialist
Telkom Internet
#qmail-ldap @ irc.freenode.net

This message has been made from 100% recycled bits.

----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/MU/E d? s+:+ a- C++++>+++++ USL++++$ P++++ !E(---)W+@ !N
o?(--) K? !w(---) O- M+ V PS+@ PE Y-- PGP++>+++ !t(---) !5 !X
R-- !tv b(++) DI++ !D(----) G+++>++++ e++>* h----(*) r+++ y++++
-----END GEEK CODE BLOCK------

Reply via email to