--- Sameer N Ingole <[EMAIL PROTECTED]> wrote:
> jay alvarez wrote: > > >Hi, > > > >--- HyperAxe <[EMAIL PROTECTED]> wrote: > > > > > > > >>Aside from the smtpd logs, do you also have qmail > >>logs. I'm not sure > >>about your installation but with my installation > >>using daemontools my > >>qmail logs are under > >>/service/qmail/logs/main/current and smtpd logs > are > >>under /service/qmail/logs/main/current. > >> > >>Most details of errors can actually be seen on > qmail > >>logs. > >> > >> > >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 > > > >Do you know what qmail program is being invoke to > >create that virtual home directories? I know that > its > > > > > I think its qmail-local which creates directories. > You can try this. > > su vmail -c `cat /var/qmail/control/dirmaker` > /var/vmail/username/Maildir > > (substitute username above with your mail user > yanyan??) > > See if it creates Maildir or not. > yes it did. > How did you create user vmail? > (show command you used to create user vmail.) > I'm running FreeBSD 5.4 so I didn't followed the instructions for adding users found at: http://www.proscrutiny.com/howtos/qmail-ldap.html#creating-dirmaker_subsec Anyway, here's the entry in my /etc/passwd: vmail:$1$aFeH1H3B$GtwMRp.9TvOzGsGklizLp0:1012:1012::0:0:qmail virtual user:/var/vmail:/bin/sh A #`cat /var/qmail/control/ldap[g|u]id` gives me: 1012 while #cat /var/qmail/control/ldapmessagestore /var/vmail and as I've said, I have a /var/qmail/control/dirmaker that contains the absolute path of the actual dirmaker script located at /var/qmail/bin/ Anymore idea? Thanks again. > >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? > > > -- > Sameer N. Ingole > /*****************************************************/ > Better to light one candle than to curse the > darkness. > /*****************************************************/ > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
