From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, ROUND_THE_WORLD_LOCAL autolearn=no version=3.2.3 Message-ID: <47E0BD70.4030308@zorya.com.ua> Date: Wed, 19 Mar 2008 09:14:56 +0200 From: Bratyakin Sergey User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: ALT Linux sysadmin discuss References: <47E0AB5A.60304@zorya.com.ua> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at zorya.com.ua 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 07:15:01 -0000 Archived-At: List-Archive: Vladimir V. Kamarzin пишет: >>>>>> On 19 Mar 2008 at 10:57 "BS" == Bratyakin Sergey writes: > > BS> Помогите решить проблему. > BS> Сервер 4.0.1 > BS> Установлен postfix, все работает, но > BS> не определяет имена клиентов. > BS> При подключении клиентов всегда пишет в лог такое: > 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=unknown[91.50.68.110] > BS> Mar 17 15:28:45 smtp postfix/smtpd[17976]: connect from unknown[62.90.46.50] > > Идентичен ли /var/spool/postfix/etc/resolv.conf системному /etc/resolv.conf ? > В дополнение сообщаю права доступа хотя в принципе файлы копируются и назначаются если выполнить команду update_chrooted all [root@smtp etc]# ls -la /var/spool/postfix/ total 80 drwx--x--x 20 root root 4096 Mar 18 15:38 . drwxr-xr-x 13 root root 4096 Jan 23 10:40 .. drwx------ 2 postfix root 4096 Mar 19 09:11 active drwx------ 2 postfix root 4096 Mar 19 08:57 bounce drwx------ 2 postfix root 4096 Feb 25 18:51 corrupt drwx------ 18 postfix root 4096 Feb 25 18:51 defer drwx------ 18 postfix root 4096 Feb 25 18:51 deferred drwx--x--x 2 root root 4096 Mar 19 04:04 dev drwxr-xr-x 2 root root 4096 Mar 19 09:11 etc drwx------ 2 postfix root 4096 Feb 25 18:51 flush drwx------ 2 postfix root 4096 Feb 25 18:51 hold drwx------ 2 postfix root 4096 Mar 19 09:11 incoming drwxr-xr-x 2 root root 4096 Mar 19 09:11 lib drwx-wx--T 2 postfix postdrop 4096 Mar 19 04:08 maildrop drwx------ 2 root root 4096 Feb 25 18:51 pid drwx------ 2 postfix root 4096 Mar 18 15:37 private drwx--x--- 2 postfix postdrop 4096 Mar 18 15:37 public drwx------ 2 postfix root 4096 Feb 25 18:51 saved drwx------ 2 postfix root 4096 Mar 18 19:46 trace drwx--x--x 4 root root 4096 Feb 25 18:51 var [root@smtp etc]# ls -la /var/spool/postfix/etc total 56 drwxr-xr-x 2 root root 4096 Mar 19 09:11 . drwx--x--x 20 root root 4096 Mar 18 15:38 .. -rw-r--r-- 1 root root 26 Mar 13 2007 host.conf -rw-r--r-- 1 root root 81 Mar 17 15:46 hosts -rw-r--r-- 1 root root 2057 Jan 19 16:45 localtime -rw-r--r-- 1 root root 1890 Mar 5 12:41 nsswitch.conf -rw-r--r-- 1 root root 21 Mar 19 08:55 resolv.conf -rw-r--r-- 1 root root 24598 Mar 13 2007 services [root@smtp etc]# ls -la /var/spool/postfix/lib total 312 drwxr-xr-x 2 root root 4096 Mar 19 09:11 . drwx--x--x 20 root root 4096 Mar 18 15:38 .. -rwxr-xr-x 1 root root 75476 Jan 25 2007 libnsl.so.1 -rwxr-xr-x 1 root root 17856 Jan 25 2007 libnss_dns.so.2 -rwxr-xr-x 1 root root 34288 Jan 25 2007 libnss_files.so.2 -rwxr-xr-x 1 root root 17868 Jan 25 2007 libnss_hesiod.so.2 -rwxr-xr-x 1 root root 34320 Jan 25 2007 libnss_nis.so.2 -rwxr-xr-x 1 root root 42476 Jan 25 2007 libnss_nisplus.so.2 -rwxr-xr-x 1 root root 63264 Jan 25 2007 libresolv.so.2