From owner-freebsd-hackers Tue Mar 13 1:39:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id E723537B71A for ; Tue, 13 Mar 2001 01:38:57 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from mobile.wemm.org (mobile.wemm.org [10.0.0.5]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f2D9cvp39212 for ; Tue, 13 Mar 2001 01:38:57 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f2D9cth53673; Tue, 13 Mar 2001 01:38:56 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200103130938.f2D9cth53673@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: "Zaitsev Serg" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: mail.local In-Reply-To: <017401c0aba0$1d76b5d0$250010ac@aprcity.com> Date: Tue, 13 Mar 2001 01:38:55 -0800 From: Peter Wemm Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG First, stop sending html mail.. Second, rebuild /etc/mail/sendmail.cf. Mergemaster is your friend. The newer sendmail configuration passes on root privs to mail.local, which is no longer setuid itself. "Zaitsev Serg" wrote: > This is a multi-part message in MIME format. > > ------=_NextPart_000_0171_01C0ABB9.410D6430 > Content-Type: text/plain; > charset="koi8-r" > Content-Transfer-Encoding: quoted-printable > > I have upgrade on FreeBSD 3.5 and FreeBSD 4.2 the Sendmail 8.11.3. > On FreeBSD 3.5 all is OK. > But on FreeBSD 4.2 I got trouble. With /usr/local/bin/mail.local or = > /usr/libexec/mail.local . > > cat /var/log/maillog > Mar 13 11:59:24 gate sendmail[82883]: starting daemon (8.11.3): = > SMTP+queueing@00:30:00 > Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = > permitted (r=3D1, e=3D1) > Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: to=3Dzaitsev, = > ctladdr=3D (0/0), delay=3D19:08:01, xdelay=3D00:00:00, = > mailer=3Dlocal, pri=3D120665, dsn=3D5.0.0, stat=3DService unavailable > Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: forward = > =3D> zaitsev > Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: f2D8xOl82884: DSN: = > Service unavailable > Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = > permitted (r=3D1, e=3D1) > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: to=3Dzaitsev, = > delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30765, = > dsn=3D5.0.0, stat=3DService unavailable > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias MAILER-DAEMON = > =3D>postmaster > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster = > =3D> root > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = > zaitsev > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: alias postmaster = > =3D> root > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = > zaitsev > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: f2D8xOm82884: return = > to sender: Service unavailable > Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): Operation not = > permitted (r=3D1, e=3D1) > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: to=3Dzaitsev, = > delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, pri=3D30865, = > dsn=3D5.0.0, stat=3DService unavailable > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias MAILER-DAEMON = > =3D> postmaster > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias postmaster = > =3D> root > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: forward root =3D> = > zaitsev > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: done; = > delay=3D00:00:00, ntries=3D1 > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: Losing = > ./qff2D8xOl82884: savemail panic > Mar 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: SYSERR(root): = > savemail: cannot save rejected email anywhere > > Help me how to power it returns to normal operations? > Any conclusions is very appreciated. > > Zaitsev Serg, root@aprcity.ru > > > > ------=_NextPart_000_0171_01C0ABB9.410D6430 > Content-Type: text/html; > charset="koi8-r" > Content-Transfer-Encoding: quoted-printable > > > > > > > > >
I have upgrade on FreeBSD 3.5 and = > FreeBSD 4.2 the=20 > Sendmail 8.11.3.
On FreeBSD 3.5 all is OK.
But on FreeBSD 4.2 I = > got=20 > trouble. With /usr/local/bin/mail.local or /usr/libexec/mail.local = > .

cat=20 > /var/log/maillog
Mar 13 11:59:24 gate sendmail[82883]: starting = > daemon=20 > (8.11.3): SMTP+queueing@00:30:00
Mar 13 11:59:24 gate mail.local: = > setreuid(0,=20 > 1000): Operation not permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate=20 > sendmail[82884]: f2CDpNU76288: to=3Dzaitsev, ctladdr=3D< href=3D"mailto:root@tvd.net">root@tvd.net> (0/0), = > delay=3D19:08:01,=20 > xdelay=3D00:00:00, mailer=3Dlocal, pri=3D120665, dsn=3D5.0.0, = > stat=3DService=20 > unavailable
Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: = > forward=20 > <root@tvd.net> =3D> = > zaitsev
Mar 13=20 > 11:59:24 gate sendmail[82884]: f2CDpNU76288: f2D8xOl82884: DSN: Service=20 > unavailable
Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): = > Operation not=20 > permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate sendmail[82884]: = > f2D8xOl82884:=20 > to=3Dzaitsev, delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Dlocal, = > pri=3D30765, dsn=3D5.0.0,=20 > stat=3DService unavailable
Mar 13 11:59:24 gate sendmail[82884]: = > f2D8xOl82884:=20 > alias MAILER-DAEMON =3D>postmaster
Mar 13 11:59:24 gate = > sendmail[82884]:=20 > f2D8xOl82884: alias postmaster =3D> root
Mar 13 11:59:24 gate=20 > sendmail[82884]: f2D8xOl82884: forward root =3D> zaitsev
Mar 13 = > 11:59:24=20 > gate sendmail[82884]: f2D8xOl82884: alias postmaster =3D> root
Mar = > 13=20 > 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D> = > zaitsev
Mar=20 > 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: f2D8xOm82884: return to = > sender:=20 > Service unavailable
Mar 13 11:59:24 gate mail.local: setreuid(0, = > 1000):=20 > Operation not permitted (r=3D1, e=3D1)
Mar 13 11:59:24 gate = > sendmail[82884]:=20 > f2D8xOm82884: to=3Dzaitsev, delay=3D00:00:00, xdelay=3D00:00:00, = > mailer=3Dlocal,=20 > pri=3D30865, dsn=3D5.0.0, stat=3DService unavailable
Mar 13 11:59:24 = > gate=20 > sendmail[82884]: f2D8xOm82884: alias MAILER-DAEMON =3D> = > postmaster
Mar 13=20 > 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias postmaster =3D> = > root
Mar=20 > 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: forward root =3D>=20 > zaitsev
Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: done;=20 > delay=3D00:00:00, ntries=3D1
Mar 13 11:59:24 gate sendmail[82884]: = > f2D8xOl82884:=20 > Losing ./qff2D8xOl82884: savemail panic
Mar 13 11:59:24 gate = > sendmail[82884]:=20 > f2D8xOl82884: SYSERR(root): savemail: cannot save rejected email=20 > anywhere

Help me how to power it returns to normal = > operations?
Any=20 > conclusions is very appreciated.

Zaitsev Serg, href=3D"mailto:root@aprcity.ru">root@aprcity.ru

<= > /BODY> > > ------=_NextPart_000_0171_01C0ABB9.410D6430-- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message