[EMAIL PROTECTED] wrote:
Quoting Scott Ryan <[EMAIL PROTECTED]>:
This one time, at band camp, [EMAIL PROTECTED] wrote:
/var/qmail/maildirs/
homeDirectory: /var/qmail/maildirs/spd9/
mailMessageStore: /var/qmail/maildirs/spd9/
Here looks to be your problem. Either change all you ldap entries or fix your
ldapmessagestore control file.
It is trying to create dirs in /var/qmail/maildirs/var/qmail/maildirs/spd9/
Which does not exist
fix this up and then maildirmake will work.
Quoting Scott Ryan <[EMAIL PROTECTED]>:
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.
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.
--
slr,
-
slr,
Hi
I have tried with /spd9/ in ldap entries ..for homeDirectory: /spd9/
mailMessageStore: /spd9/
but still do not working
[I have formatted this mail for this time, next time please maintain the
reply at the bottom of message.]
Okay, let us sort it out step by step.
Answer these questions.
1. Show me the output of
ls -lh /var/qmail/
2. Which user owns directory /var/qmail/maildirs? (check in output of
above command)
3. Show output of
id <username>
where <username> is the owner of /var/qmail/maildirs.
4. try this and tell me what it did..
run this command as root
/var/qmail/bin/dirmaker1 "/var/qmail/maildirs/spd9"
Did it create dir intended directory (/var/qmail/maildirs/spd9) ?
Once these questions are answered, we will proceed for further debug.
--
Sameer N. Ingole
/*****************************************************/
Better to light one candle than to curse the darkness.
/*****************************************************/