I've got some explanation, but no solution..

qmail for local delivery into /var/mail/$user
uses part of sendmail - mail.local (for BSD systems).
As from FreeBSD version 4.2 mail.local is no more
setuid and could not be used directly by user for
local mail delivery. You have to call sendmail for it
which in turn passes message to mail.local.  

I believe you use script binm1 or binm1+df for running
qmail. And maybe this part should be rewritten to do
local mail deliveries as root. 

Oleg

--- Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
> 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!!!
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to