On Thu, Oct 28, 2004 at 05:44:45PM -0600, Stewart Walker wrote:
> 
> > On Thu, Oct 28, 2004 at 05:01:25PM -0600, Stewart Walker wrote:
> >> On 29 Oct 2004 at 0:47, Claudio Jeker wrote:
> >>
> >> > On Thu, Oct 28, 2004 at 04:43:14PM -0600, Stewart Walker wrote:
> >> > >
> >> > > I'm at a loss as to why the mail is being placed
> >> > > in the queue as
> >> > >
> >> > > [root@ root]# cd '/var/qmail/queue/local/9'
> >> > > [root@ 9]# ls -l
> >> > > total 4
> >> > > -rw-------    1 qmails   qmail          37 Oct 28  2004 6717527
> >> > > [EMAIL PROTECTED] 9]#
> >> > >
> >> >
> >> > This is the local file that needs to be qmails:qmail
> >> >
> >> > > checking the queue
> >> > >
> >> > > checking files...
> >> > > checking queue/mess files...
> >> > > checking split locations...
> >> > >   queue/mess/9/6717527 ownership 505:501, should be
> >> > > qmailq:qmail
> >> > >   testmode, not fixing
> >> > >
> >> >
> >> > Who is 505:501
> >>
> >> qmailq:x:505:502::/var/qmail:/nonexistent
> >> qmaild:x:501:501::/var/qmail:/nonexistent
> >>
> >> also give a ls -l of /var/qmail/queue/mess/9/6717527.
> >>
> >> [EMAIL PROTECTED] bin]# cd /var/qmail/queue/mess/9
> >> [EMAIL PROTECTED] 9]# ls -l
> >> total 4
> >> -rw-r--r--    1 qmailq   nofiles      1256 Oct 28 14:43 6717527
> >> [EMAIL PROTECTED] 9]#
> >>
> >>
> >
> > Hmm, wrong group. What type of system?
> 
> Redhat ES 3.1
> qmail-ldap-1.03-20040401.patch
> qmail-smtpd-auth-0.30.
> php-ldap-4.3.2-14.ent
> courier-imap-ldap-3.0.3.20040411-1.3ES
> openldap-servers-2.1.22-8
> openldap-2.1.22-8
> #
> # Here is my queue directory.. Went back thru life with QM
> # and uid's and gid's are correct
> #
> [root@ root]# cd /var/qmail/queue
> [root@ queue]# ls -l
> total 36
> drwx------    2 qmails   qmail        4096 Oct 28 11:21 bounce
> drwx------   25 qmails   qmail        4096 Apr 17  2004 info
> drwx------    2 qmailq   qmail        4096 Oct 28 14:43 intd
> drwx------   25 qmails   qmail        4096 Apr 17  2004 local
> drwxr-x---    2 qmailq   qmail        4096 Apr 17  2004 lock
> drwxr-x---   25 qmailq   qmail        4096 Apr 17  2004 mess
> drwx------    2 qmailq   qmail        4096 Oct 28 14:43 pid
> drwx------   25 qmails   qmail        4096 Apr 17  2004 remote
> drwxr-x---    2 qmailq   qmail        4096 Oct 28 14:43 todo
> [root@ queue]#
> 
> 
> [EMAIL PROTECTED] queue]# cd mess
> [EMAIL PROTECTED] mess]# ls -l
> total 92
> drwxr-x---    2 qmailq   qmail        4096 Oct 12 15:49 0
> drwxr-x---    2 qmailq   qmail        4096 Oct 12 15:49 1
> drwxr-x---    2 qmailq   qmail        4096 Apr 17  2004 10
> 
> .. snipped
> 
> rwxr-x---    2 qmailq   qmail        4096 Oct 12 15:49 3
> drwxr-x---    2 qmailq   qmail        4096 Oct 12 15:49 4
> drwxr-x---    2 qmailq   qmail        4096 Apr 17  2004 5
> drwxr-x---    2 qmailq   qmail        4096 Oct 26 06:09 6
> drwxr-x---    2 qmailq   qmail        4096 Oct 25 21:06 7
> drwxr-x---    2 qmailq   qmail        4096 Oct 23 11:27 8
> drwxr-x---    2 qmailq   qmail        4096 Oct 28 14:43 9
> 
> 
> On BSD the group is inherited form
> > the parent dir. So check also the rights of those. This is the only reason
> > for this nofiles file I can think of. Btw /var/qmail/queue should look
> > like this:
> > drwx------   2 qmails  qmail  512 Oct  8 18:34 bounce
> > drwx------  25 qmails  qmail  512 Nov 27  2003 info
> > drwx------   2 qmailq  qmail  512 Oct 28 22:41 intd
> > drwx------  25 qmails  qmail  512 Nov 27  2003 local
> > drwxr-x---   2 qmailq  qmail  512 Nov 27  2003 lock
> > drwxr-x---  25 qmailq  qmail  512 Nov 27  2003 mess
> > drwx------   2 qmailq  qmail  512 Oct 28 22:41 pid
> > drwx------  25 qmails  qmail  512 Nov 27  2003 remote
> > drwxr-x---   2 qmailq  qmail  512 Oct 28 22:41 todo
> >
> >
> 
> 
> 
> 
> >> >
> >> > > I've double checked all of the control files
> >> > > per the QLDAPINSTALL
> >> > >
> >> > > /var/qmail/bin/qmail-queue permissions are correct
> >> > > as far as I can tell.
> >> > >
> >> > > -rws--x--x    1 qmailq   qmail       16896 Apr 27  2004 qmail-queue
> >> > >
> >> > > Any help would be greatly appreciated.
> >> >
> >> > Have you changed the uid of users after install?
> >> > Using QMAILQUEUE?
> >>
> >> No.. uid's gid's have not been changed
> >>

OK, my last idea try to make qmail-queue setuid and setgid. I have no clue
how you could get a gid nofiles file if it goes through qmail-queue.
Also it could be a good idea if you (k)trace/truss or however it is called
qmail-smtpd and qmail-queue just to see that it does what we expect.

zzz
-- 
:wq Claudio

Reply via email to