ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Bratyakin Sergey <sergey@zorya.com.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Postfix in chroot can't resolv client name in ALT Server 4.0.1
Date: Wed, 19 Mar 2008 09:14:56 +0200
Message-ID: <47E0BD70.4030308@zorya.com.ua> (raw)
In-Reply-To: <m3tzj344so.fsf@vvk.distance.ru>

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


  parent reply	other threads:[~2008-03-19  7:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-19  5:57 Bratyakin Sergey
2008-03-19  6:16 ` Vladimir V. Kamarzin
2008-03-19  7:05   ` Bratyakin Sergey
2008-03-19  9:14     ` Vladimir V. Kamarzin
2008-03-19 10:02       ` Bratyakin Sergey
2008-03-19  7:14   ` Bratyakin Sergey [this message]
2008-03-19 10:07   ` Dmitry V. Levin
2008-03-19 10:21     ` Bratyakin Sergey
2008-03-19 10:26       ` Dmitry V. Levin
2008-03-19 10:55         ` Bratyakin Sergey
2008-03-19 11:28           ` Vladimir V. Kamarzin
2008-03-19 12:15             ` Bratyakin Sergey
2008-03-20  5:44               ` Bratyakin Sergey
2008-03-20  5:53                 ` Dmitry V. Levin
2008-03-20  6:25                   ` Bratyakin Sergey
2008-03-20  6:32                 ` Peter Evdokimov
2008-03-20  7:24                   ` Bratyakin Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47E0BD70.4030308@zorya.com.ua \
    --to=sergey@zorya.com.ua \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git