Well here is a weird one.

I did a restore of the ldap db from a tape.
now everything is working fine with 4 accounts in the db.
mail is sent to the accounts.

Any ideas out there?


> Lots of info concering qmail queue in google land. Didn't find much
> on my current problem.
>
> http://www.cyberis.net/support/qmail/misc/INTERNALS.phtml
>
> was infomative but didn't cover this problem..
>
> Sooooo I'm asking those who have gone before me if I should
> 1. completly reinstall qmail or
> 2.. remove and replace the queue.
>
> How is the queue replaced?
> Thanks.
>
> On 29 Oct 2004 at 9:22, Stewart Walker wrote:
>
>> Is qmail loading and running under the uid's?
>> Thanks
>>
>> [root@  ldif]# ps -ef |grep qmail
>> root      1688  1686   Oct28 ?        00:00:00 supervise qmail-send
>> root      1690  1686   Oct28 ?        00:00:00 supervise qmail-smtpd
>> qmails    3561  1688   09:17 ?        00:00:00 qmail-send qmaill
>> 3562  1689   09:17 ?        00:00:00 /usr/local/bin/multilog t
>> /var/log/qmail qmaill    3564  1691   09:17 ?        00:00:00
>> /usr/local/bin/multilog t /var/log/qmail/smtpd qmaild    3565  1690  0
>> 09:17 ?        00:00:00 /usr/local/bin/tcpserver -v -R -l
>> .caspercollege.edu -x /etc/tcp.smtp.cdb -c 50 -u 501 -g 501  smtp
>> /var/qmail/bin/qmail-smtpd root      3571  3561   09:17 ?
>> 00:00:00 qmail-lspawn ./Maildir/ qmailr    3573  3561   09:17 ?
>>  00:00:00 qmail-rspawn qmailq    3574  3561   09:17 ?        00:00:00
>> qmail-clean qmails    3575  3561   09:17 ?        00:00:00 qmail-todo
>> qmailq    3576  3561   09:17 ?        00:00:00 qmail-clean root
>> 3577  3571   09:17 ?        00:00:00 qmail-lspawn ./Maildir/ root
>>  3584  3168   09:17 pts/0    00:00:00 grep qmail [root@  ldif]#
>>
>>
>> On 28 Oct 2004 at 17:44, 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 [root@  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.
>> > >>
>> > >> [root@  bin]# cd /var/qmail/queue/mess/9
>> > >> [root@  9]# ls -l
>> > >> total 4
>> > >> -rw-r--r--    1 qmailq   nofiles      1256 Oct 28 14:43 6717527
>> > >> [root@  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@ qu
> eue]#
>> >
>> >
>> > [root@  queue]# cd mess
>> > [root@  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
>> > >>
>> > >
>> > > --
>> > > :wq Claudio
>> > >
>> >
>> >
>> > --
>> >        \\|//
>> >       -(@ @)-
>> > ===oOO==(_)==OOo===============
>> > [EMAIL PROTECTED]
>>
>>
>>                  \\|//
>>               -(@ @)-
>> ===oOO==(_)==OOo======================
>>
>> Stewart Walker
>> [EMAIL PROTECTED]
>>
>
>
>                  \\|//
>               -(@ @)-
> ===oOO==(_)==OOo======================
>
> Stewart Walker
> [EMAIL PROTECTED]
>
>


-- 
       \\|//
      -(@ @)-
===oOO==(_)==OOo===============
[EMAIL PROTECTED]

Reply via email to