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.

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!




Reply via email to