I think you can just fetch /usr/libexec/mail.local
from FreeBSD 4.1 or just compile it.

It should be installed setuid. Setuid bit was removed
for security reasons..

Oleg

--- Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
> Thanks for replying Oleq,
> 
> Looks like the freebsd cd that comes with the qmail book is
> coming in handy
> after all (probably the first time I ever use the cd that
> comes with a
> book!).
> 
> I find it quite odd that freebsd 4.3's packages seem to be
> rearranged a
> little. for example, Lynx is included in the package (and
> links is thrown
> out). Of course, my qmail package has also disappeared, and
> they finally put
> in uwimap! argh!
> 
> Do you know if freebsd 4.1 is a stable release? the one at
> www.linuxiso.org
> is still calling it an 'alpha'...
> 
> ----- Original Message -----
> From: "Oleg Polyakov" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, 27 April, 2001 5:01 PM
> Subject: Re: Please help! I'm so close to getting qmail up...
> 
> 
> > 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/
> >


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

Reply via email to