Hello jay,

Ya, u can use the sudo and set config file such a way so it will allow vamail to create
dir in /home/ and change mailMessageStore path to "./Maildir/".



jay alvarez wrote:

Hi everyone,

--- Hardik Dalwadi <[EMAIL PROTECTED]> wrote:

I've already found the logfiles for qmail. It's in

/var/qmail/log/qmail/current, the same location of
qmail-smtpd/current log.

After emptying the contents of
/var/qmail/log/qmail/current, I again tried sending
email and got these logs, which indeed tells it's a
homedir creation problem.

@4000000042df416101e76b4c new msg 300
@4000000042df416101efc404 info msg 300: bytes 1070
from <[EMAIL PROTECTED]> qp 1197 uid
1003
@4000000042df416101efd78c starting delivery 28: msg
300 to local [EMAIL PROTECTED]
@4000000042df416101efe72c status: local 1/10 remote
0/20
@4000000042df416108fcb284 delivery 28: deferral:
Temporary_error_in_automatic_homedir_creation._(#4.3.0)/
@4000000042df4161090c69f4 status: local 0/10 remote
0/20
@4000000042df41c6096ef484 starting delivery 29: msg
300 to local [EMAIL PROTECTED]
@4000000042df41c609716d54 status: local 1/10 remote
0/20

After a quick googling for the error message, I
found
this link:
http://www.mail-archive.com/qmail-ldap%40qmail-ldap.org/msg01653.html
The user has a different scenario, but the same
error
message. deferral:
Temporary_error_in_automatic_homedir_creation._(#4.3.0)


If u got above type of error then there is
permission problem.
If you are hurry then change the /home permission to 777.
it will work for while. but due to security reason u
can't do it.
so you can use sudo. and another thing you vamil
user is trying to create
dir in /home dir. it has  not permission to create
dir in /home directory.
I tried changing the mode of /home to 777 and send
another mail, but something weird happened.
First, the script created a home directory and a
Maildir(with cur, new, etc.) of the mail recipient
inside /home. Then it will create an ascii file in
/var/vmail that contains the actual mail. The ascii
file containing the mail is sort of like the mbox
format and named after the recipient's name.

For example, after sending email to
[EMAIL PROTECTED] it created a /home/bani and
/home/bani/Maildir directories... and an ascii file
/var/vmail/bani which resembles the mbox format.

Any idea why this is happening?
Does it have something to do with both homeDirectory: /home/bani and mailMessageStore: /var/vmail
(Note: bani doesn't have an actual unix account and a
home directory, I just added the homeDirectory in ldap
because posixAccount requires it)

Thanks.. (hang on' we're almost there! :))







Do you know what qmail program is being invoke to
create that virtual home directories? I know that
its
not a separate script because the flag to enable it
is
included in the main qmail Makefile. Perhaps I can
run
it in debugging mode. Or, perhaps that user
priveledge
in which that program is running is not set to
vmail:vmail, which owns the /var/vmail directory
such
that it cannot create any file in it.

Any idea?

Thanks!







__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Reply via email to