From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 19 Mar 2008 13:26:53 +0300 From: "Dmitry V. Levin" To: ALT Linux sysadmin discuss Message-ID: <20080319102653.GG28216@wo.int.altlinux.org> Mail-Followup-To: ALT Linux sysadmin discuss References: <47E0AB5A.60304@zorya.com.ua> <20080319100730.GD28216@wo.int.altlinux.org> <47E0E925.4090609@zorya.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YH9Qf6Fh2G5kB/85" Content-Disposition: inline In-Reply-To: <47E0E925.4090609@zorya.com.ua> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [Sysadmins] Postfix in chroot can't resolv client name in ALT Server 4.0.1 X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2008 10:26:53 -0000 Archived-At: List-Archive: --YH9Qf6Fh2G5kB/85 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 19, 2008 at 12:21:25PM +0200, Bratyakin Sergey wrote: > Dmitry V. Levin =D0=C9=DB=C5=D4: > >On Wed, Mar 19, 2008 at 11:16:23AM +0500, Vladimir V. Kamarzin wrote: > >>>>>>>On 19 Mar 2008 at 10:57 "BS" =3D=3D Bratyakin Sergey writes: > >>BS> =F0=CF=CD=CF=C7=C9=D4=C5 =D2=C5=DB=C9=D4=D8 =D0=D2=CF=C2=CC=C5=CD= =D5. > >>BS> =F3=C5=D2=D7=C5=D2 4.0.1 > >>BS> =F5=D3=D4=C1=CE=CF=D7=CC=C5=CE postfix, =D7=D3=C5 =D2=C1=C2=CF=D4= =C1=C5=D4, =CE=CF > >>BS> =CE=C5 =CF=D0=D2=C5=C4=C5=CC=D1=C5=D4 =C9=CD=C5=CE=C1 =CB=CC=C9=C5= =CE=D4=CF=D7. > >>BS> =F0=D2=C9 =D0=CF=C4=CB=CC=C0=DE=C5=CE=C9=C9 =CB=CC=C9=C5=CE=D4=CF= =D7 =D7=D3=C5=C7=C4=C1 =D0=C9=DB=C5=D4 =D7 =CC=CF=C7 =D4=C1=CB=CF=C5: > >>BS> Mar 17 15:28:38 smtp postfix/smtpd[17993]: disconnect from > >>BS> unknown[83.4.217.144] > >>BS> Mar 17 15:28:39 smtp postfix/smtpd[17991]: connect from > >>BS> unknown[91.50.68.110] > >>BS> Mar 17 15:28:44 smtp postfix/smtpd[17991]: 6483B30009E: > >>BS> client=3Dunknown[91.50.68.110] > >>BS> Mar 17 15:28:45 smtp postfix/smtpd[17976]: connect from=20 > >>unknown[62.90.46.50] > >> > >>=E9=C4=C5=CE=D4=C9=DE=C5=CE =CC=C9 /var/spool/postfix/etc/resolv.conf = =D3=C9=D3=D4=C5=CD=CE=CF=CD=D5=20 > >>/etc/resolv.conf ? > > > >=E9 /etc/nsswitch.conf =DA=C1=CF=C4=CE=CF, =D4=D5=C4=C1 =D4=CF=D6=C5 =CD= =CF=D6=CE=CF =D7=CE=C5=D3=D4=C9 =DE=D4=CF-=CE=C9=C2=D5=C4=D8 =CE=C5=D2=C1= =C2=CF=DE=C5=C5. [...] >=20 > =EE=C9=DE=C5=C7=CF =D7 /etc/nsswitch.conf =CE=C5 =D7=CE=CF=D3=C9=CC=CF=D3= =D8. =F7=C5=C4=D8 =CE=C5 =D7 chroot =D7=D3=C5=20 > =CE=CF=D2=CD=C1=CC=D8=CE=CF. =F3=CC=C5=C4=CF=D7=C1=D4=C5=CC=D8=CE=CF =D7= =D3=C5 =CE=CF=D2=CD=C1=CC=D8=CE=CF =D3 =C6=C1=CA=CC=C1=CD=C9 =D7 /etc/nssw= itch.conf =C9=20 > /etc/resolv.conf > =F1 =CE=C5 =CB=CF=D0=C9=D2=D5=C0 =D2=D5=CB=C1=CD=C9 =C6=C1=CA=CC=D9 =D7 /= var/spool/postfix > =FA=C1 =CD=C5=CE=D1 =D7=D3=C5 =DC=D4=CF =C4=C5=CC=C1=C5=D4 update_chrooted > =EB=CF=CD=C1=CE=C4=C1 postfix check =CE=C5 =D7=D9=C4=C1=C5=D4 =CF=DB=C9= =C2=CB=D5 =CE=C1 =D2=C1=DA=CC=C9=DE=C9=C5 =C6=C1=CA=CC=CF=D7. =F1 =C9=D3=C8=CF=D6=D5 =C9=DA =D4=CF=C7=CF, =DE=D4=CF - =DE=D5=C4=C5=D3 =D7 =EF=F3 =CE=C5 =C2=D9=D7=C1=C5=D4; - resolver =D7 postfix =D2=C1=C2=CF=D4=C1=C5=D4 (=C9=CE=C1=DE=C5 =C2=D9 =D7= =D9 =CE=C5 =D0=D2=CF=DE=CC=C9 =DC=D4=CF=D4 =D4=D2=C5=C4, =D0=CF=D3=CB=CF=CC= =D8=CB=D5 =D3=C5=D2=D7=C5=D2 =D3=D0=C9=D3=CB=C1 =D2=C1=D3=D3=D9=CC=CB=C9 =C9=D3=D0=CF= =CC=D8=DA=D5=C5=D4 reject_unknown_reverse_client_hostname). =F3=CC=C5=C4=CF=D7=C1=D4=C5=CC=D8=CE=CF, =CE=C1=C4=CF =C9=D3=CB=C1=D4=D8 = =D0=D2=C9=DE=C9=CE=D5, =CB=CF=D4=CF=D2=C1=D1 =C4=C5=CC=C1=C5=D4 =D7=C1=DB= =D5 =CB=CF=CE=C6=C9=C7=D5=D2=C1=C3=C9=C0 =CE=C5=D2=C1=C2=CF=DE=C5=CA. --=20 ldv --YH9Qf6Fh2G5kB/85 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkfg6m0ACgkQfKvmrJ41Nh6F9wCdH528u7N+YvirpIl/CCm8hbX8 fGsAn2r9ypwP3xV8OW4NzkQaDiA+syVG =WJxl -----END PGP SIGNATURE----- --YH9Qf6Fh2G5kB/85--