Have you read the INSTALL.mbox file that came with the qmail source? It may
have some clues. If I am not mistaken, only root can change its identity,
and this error is indicating that the real uid of the process is 1000, which
is not root, so it can't change to real uid 0, so the setuid call is
failing. I am assuming that 1000 is the uid of qmaill, or whichever qmail
user is responsible for local deliveries.

It may be necessary that qmail-start should be invoked under root, which
seems to be the case on my machine. If it is not, that could be a cause.

-K


> From: "Foo Ji-Haw" <[EMAIL PROTECTED]>
> Date: Fri, 27 Apr 2001 14:21:08 +0800
> To: <[EMAIL PROTECTED]>
> Subject: Please help! I'm so close to getting qmail up...
> 
> Hi all,
> 
> Some background:
> -I'm trying to run qmail on my Freebsd 4.2.
> -I'm using qmail from the freebsd cd package.
> -I read the FAQs, bought the Qmail book from SAMS, and prepared the qmail
> daemons. They are up and running exactly as depicted in the book.
> -I tried a simple test to send a local mail to myself with the following
> command:
> 
> cat test | /var/qmail/bin/qmail-inject
> 
> The mail did not get processed. I found this in the maillog:
> 
> Apr 27 13:42:48 markus qmail: 988350168.284945 delivery 32: deferral:
> mail.local
> :_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
> Apr 27 13:42:48 markus qmail: 988350168.285228 status: local 1/10 remote 0/20
> Apr 27 13:43:10 markus mail.local: lockmailbox /var/mail/jhfoo failed; error
> cod
> e 75 
> Apr 27 13:43:10 markus qmail: 988350190.305262 delivery 33: deferral:
> mail.local
> :_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
> Apr 27 13:43:10 markus qmail: 988350190.305477 status: local 0/10 remote 0/20
> 
> I trid setting /var/mail to drwxrwxrwx, then I get this error:
> 
> Apr 27 14:16:00 markus qmail: 988352160.082426 delivery 54: deferral:
> mail.local
> :_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
> Apr 27 14:16:00 markus qmail: 988352160.082655 status: local 0/10 remote 0/20
> Apr 27 14:17:38 markus qmail: 988352258.085002 starting delivery 55: msg 454
> to 
> local [EMAIL PROTECTED]
> Apr 27 14:17:38 markus qmail: 988352258.085580 status: local 1/10 remote 0/20
> Apr 27 14:17:38 markus mail.local: setreuid(0, 1000): Operation not permitted
> (r
> =1000, e=1000)
> Apr 27 14:17:38 markus qmail: 988352258.149416 delivery 55: deferral:
> mail.local
> :_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
> Apr 27 14:17:38 markus qmail: 988352258.149625 status: local 0/10 remote 0/20
> 
> Can someone please tell me what to do? I'm so darn close to getting qmail
> up!!!
> 

Reply via email to