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

> 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.
> >
> >  
> >
> Ya, I know this problem even with me too.
> it will create two dir. one in /home/bani/Maildir
> and /var/qmail/bani/mbox and deliver the mail in
> /var/qmail/bani/mbox.
> U have default delivery to is mbox i think so that's
> why mbox is created.

I don't think so..
here:

gaheris#cat /var/qmail/control/defaultdelivery
./Maildir/


> 
> >Any idea why this is happening?
> >  
> >

> Ya, because u have qmailuid and qmailgid set to
> vmail's uid and gid.

How is this possible?  here are the contents of my
/etc/passwd:

qmaild:*:1003:1001:qmail-d:/var/qmail:/usr/sbin/nologin
qmaill:*:1004:1001:qmail-l:/var/qmail:/usr/sbin/nologin
qmailp:*:1005:1001:qmail-p:/var/qmail:/usr/sbin/nologin
qmailq:*:1006:1002:qmail-q:/var/qmail:/usr/sbin/nologin
qmailr:*:1007:1002:qmail-r:/var/qmail:/usr/sbin/nologin
qmails:*:1008:1002:qmail-s:/var/qmail:/usr/sbin/nologin
courier:*:1011:1011:courierdaemon:/home/courier:/bin/sh
vmail:*:1012:1012:qmail virtual
user:/var/vmail:/bin/sh

Still, why isn't vmail create the Maildir directory
inside /vmail/user/ ... its creating the Maildir in
/home/user ... 



> 
> >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 
=== message truncated ===


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

Reply via email to