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. Best regards, HyperAxe Email: [EMAIL PROTECTED] Web: http://www.hyperaxe.com -----Original Message----- From: jay alvarez [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 1:49 PM To: [email protected] Subject: automaildirmake won't work, emails got stuck in queue Hi, I'm trying to make qmail-smtp to work by retrieving user details from ldap but still no luck. A tail on /var/qmail/log/qmail-smtpd/current gives me: @4000000042df2efb00da19fc tcpserver: status: 1/50 @4000000042df2efb00edffbc tcpserver: pid 703 from 10.10.8.112 @4000000042df2efb01164454 tcpserver: ok 703 gaheris.camlann.pregi.net:10.10.8.113:25 galahad.camlann.pregi.net:10.10.8.112::62719 @4000000042df2efb09f120bc tcpserver: end 703 status 0 @4000000042df2efb09f43d9c tcpserver: status: 0/50 which makes me think that there's no problem in smtp connection. I have a user:group vmail:vmail with home directory set to /var/vmail. I also have a file /var/qmail/control/dirmaker that contains the absolute path of the actual dirmaker script located at /var/qmail/bin/dirmaker and contains: #!/bin/sh /bin/mkdir -m 0700 -p $1 During installation, I also have these lines uncommented: MDIRMAKE=-DAUTOMAILDIRMAKE HDIRMAKE=-DAUTOHOMEDIRMAKE I have also indicated the rootdn and password in /var/qmail/control/ldaplogin|ldappassword Tailing the debug.log of my slapd, I can see that upon arrival of the mail, qmail starts to search the directory and read access to it is being granted, so that means that there is no problem with regards to ldap lookups. I have attached here slapd's debug.log. Here's the output of qmail-ldaplookup Found 1 entry: dn: uid=bani,ou=staff,dc=preginet ------------------------------------------------------- objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: qmailUser mail: [EMAIL PROTECTED] uid: bani accountStatus: undefined -> active mailHost: gaheris.camlann.pregi.net homeDirectory: /home/bani aliasEmpty: /var/vmail/bani qmailDotMode: ldaponly qmailUID: 1012 qmailGID: 1012 mailQuotaSize: 0 (unlimited) mailQuotaCount: 0 (unlimited) mailSizeMax: 0 (unlimited) mailReplyText: undefined Running /var/qmail/bin/qmail-qstat gives me: messages in queue: 8 messages in queue but not yet preprocessed: 0 Do you have any idea where did I go wrong? Thanks. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
