On Mon, Oct 04, 2004 at 12:53:30PM -0600, Stewart Walker wrote:
> Well it appears something is really screwed.
> 
> Ran queue_repair
> 
> running in test-only mode
> finding qmail UIDs/GIDs...
>   alias   : UID 502
>   qmaill  : UID 503
>   qmailr  : UID 506
>   qmails  : UID 507
>   qmailp  : UID 504
>   qmailq  : UID 505
>   qmaild  : UID 501
>   qmail   : GID 502
>   nofiles : GID 501
> determining conf-split...
>   conf-split appears to be 23
> ....
> Appears the mail messages are being placed with the incorrect UID
> ...
> checking files...
> checking queue/mess files...
> checking split locations...
>   queue/mess/18/6717490 ownership 0:0, should be qmailq:qmail
>   testmode, not fixing
>   queue/mess/20/6717492 ownership 0:501, should be qmailq:qmail
>   testmode, not fixing
> [EMAIL PROTECTED] queue-repair-0.9.0]#
> 
> .. So I repaired them
> After Repaired
> .. 
> checking files...
> checking queue/mess files...
> checking split locations...
>   queue/mess/18/6717490 ownership 0:0, should be qmailq:qmail
>   fixed, queue/mess/18/6717490 ownership 505:502
>   queue/mess/20/6717492 ownership 0:501, should be qmailq:qmail
>   fixed, queue/mess/20/6717492 ownership 505:502
> 
> Can some one tell me what is wrong with this picture.. and how I 
> can fix it..
> 

Check the mode of /var/qmail/bin/qmail-queue it has to be setuid qmailq
e.g.
-rws--x--x  1 qmailq  qmail  21680 Aug 13 22:16 /var/qmail/bin/qmail-queue

Also check your mountflags, a clever OS/installer will set your /var
partition to nodev, nosuid but this conflicts with qmail.
In that case just link the /var/qmail/bin directory to a different
location. IMHO having binaries in /var is one of djb's major design flaws.

-- 
:wq Claudio

Reply via email to