Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 01:38:55 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Zaitsev Serg" <root@aprcity.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: mail.local 
Message-ID:  <200103130938.f2D9cth53673@mobile.wemm.org>
In-Reply-To: <017401c0aba0$1d76b5d0$250010ac@aprcity.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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<root@tvd.net> (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 =
> <root@tvd.net> =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
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>I have upgrade on FreeBSD 3.5 and =
> FreeBSD 4.2 the=20
> Sendmail 8.11.3.<BR>On FreeBSD 3.5 all is OK.<BR>But on FreeBSD 4.2 I =
> got=20
> trouble. With /usr/local/bin/mail.local or /usr/libexec/mail.local =
> .<BR><BR>cat=20
> /var/log/maillog<BR>Mar 13 11:59:24 gate sendmail[82883]: starting =
> daemon=20
> (8.11.3): SMTP+queueing@00:30:00<BR>Mar 13 11:59:24 gate mail.local: =
> setreuid(0,=20
> 1000): Operation not permitted (r=3D1, e=3D1)<BR>Mar 13 11:59:24 gate=20
> sendmail[82884]: f2CDpNU76288: to=3Dzaitsev, ctladdr=3D&lt;<A=20
> href=3D"mailto:root@tvd.net">root@tvd.net</A>&gt; (0/0), =
> delay=3D19:08:01,=20
> xdelay=3D00:00:00, mailer=3Dlocal, pri=3D120665, dsn=3D5.0.0, =
> stat=3DService=20
> unavailable<BR>Mar 13 11:59:24 gate sendmail[82884]: f2CDpNU76288: =
> forward=20
> &lt;<A href=3D"mailto:root@tvd.net">root@tvd.net</A>&gt; =3D&gt; =
> zaitsev<BR>Mar 13=20
> 11:59:24 gate sendmail[82884]: f2CDpNU76288: f2D8xOl82884: DSN: Service=20
> unavailable<BR>Mar 13 11:59:24 gate mail.local: setreuid(0, 1000): =
> Operation not=20
> permitted (r=3D1, e=3D1)<BR>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<BR>Mar 13 11:59:24 gate sendmail[82884]: =
> f2D8xOl82884:=20
> alias MAILER-DAEMON =3D&gt;postmaster<BR>Mar 13 11:59:24 gate =
> sendmail[82884]:=20
> f2D8xOl82884: alias postmaster =3D&gt; root<BR>Mar 13 11:59:24 gate=20
> sendmail[82884]: f2D8xOl82884: forward root =3D&gt; zaitsev<BR>Mar 13 =
> 11:59:24=20
> gate sendmail[82884]: f2D8xOl82884: alias postmaster =3D&gt; root<BR>Mar =
> 13=20
> 11:59:24 gate sendmail[82884]: f2D8xOl82884: forward root =3D&gt; =
> zaitsev<BR>Mar=20
> 13 11:59:24 gate sendmail[82884]: f2D8xOl82884: f2D8xOm82884: return to =
> sender:=20
> Service unavailable<BR>Mar 13 11:59:24 gate mail.local: setreuid(0, =
> 1000):=20
> Operation not permitted (r=3D1, e=3D1)<BR>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<BR>Mar 13 11:59:24 =
> gate=20
> sendmail[82884]: f2D8xOm82884: alias MAILER-DAEMON =3D&gt; =
> postmaster<BR>Mar 13=20
> 11:59:24 gate sendmail[82884]: f2D8xOm82884: alias postmaster =3D&gt; =
> root<BR>Mar=20
> 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: forward root =3D&gt;=20
> zaitsev<BR>Mar 13 11:59:24 gate sendmail[82884]: f2D8xOm82884: done;=20
> delay=3D00:00:00, ntries=3D1<BR>Mar 13 11:59:24 gate sendmail[82884]: =
> f2D8xOl82884:=20
> Losing ./qff2D8xOl82884: savemail panic<BR>Mar 13 11:59:24 gate =
> sendmail[82884]:=20
> f2D8xOl82884: SYSERR(root): savemail: cannot save rejected email=20
> anywhere<BR><BR>Help me how to power it returns to normal =
> operations?<BR>Any=20
> conclusions is very appreciated.<BR><BR>Zaitsev Serg, <A=20
> href=3D"mailto:root@aprcity.ru">root@aprcity.ru</A><BR><BR></FONT></DIV><=
> /BODY></HTML>
> 
> ------=_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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103130938.f2D9cth53673>