From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <466DB7B4.9090106@stc.donpac.ru> Date: Tue, 12 Jun 2007 00:59:32 +0400 From: Eugene Prokopiev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.2) Gecko/20040808 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: ALT Linux sysadmin discuss References: <466CD956.4030104@stc.donpac.ru> <466D13BB.5010900@stc.donpac.ru> <20070611100208.GA528@lks.home> <466D3066.7070907@stc.donpac.ru> <466D74EC.10509@tangramltd.com> <466D9578.2070707@stc.donpac.ru> In-Reply-To: <466D9578.2070707@stc.donpac.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Sysadmins] =?koi8-r?b?cG9wMy3TxdLXxdIg0yB1c2Vycy9wYXNzd29yZHMv?= =?koi8-r?b?bWJveCBuYW1lcyDXIHBsYWluIHRleHQgZmlsZQ==?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 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: Mon, 11 Jun 2007 20:50:58 -0000 Archived-At: List-Archive: Собственно, проблема не в postfix, т.к. dbmail с лукапом из mysql ведет себя так же (unknown user: "user"), пока не определен mailbox_transport. Поэтому сейчас конфигурация выглядит так: # cat /etc/postfix/main.cf unknown_local_recipient_reject_code = 550 mailbox_transport = dovecot local_recipient_maps = $alias_maps, cdb:$config_directory/vusers # cat /etc/postfix/master.cf ... dovecot unix - n n - - pipe flags=DRhu user=mail:mail argv=/usr/lib64/dovecot/deliver -d ${recipient} # cat /etc/dovecot/dovecot.conf protocols = pop3 ssl_disable = yes mail_extra_groups = mail first_valid_uid = 8 mail_location = mbox:/mail/%u mbox_min_index_size = 0 lock_method = fcntl protocol pop3 { pop3_uidl_format = %08Xu%08Xv } protocol lda { postmaster_address = postmaster@myhost.mydomain.com auth_socket_path = /var/run/dovecot/auth-master } auth default { mechanisms = plain passdb pam { } userdb passwd { } passdb passwd-file { args = /etc/dovecot/dovecot.passwd } userdb static { args = uid=8 gid=12 home=/mail/%u } user = root } Теперь при отправке сообщения имеем: Jun 12 00:42:24 myhost postfix/pickup[19448]: D084A13B7B: uid=0 from= Jun 12 00:42:24 myhost postfix/cleanup[19461]: D084A13B7B: message-id=<20070611204224.D084A13B7B@myhost.mydomain.com> Jun 12 00:42:24 myhost postfix/qmgr[19449]: D084A13B7B: from=, size=306, nrcpt=1 (queue active) Jun 12 00:42:24 myhost deliver(user@myhost.mydomain.com): net_connect(/var/run/dovecot/auth-master) failed: No such file or directory Jun 12 00:42:24 myhost postfix/pipe[19464]: D084A13B7B: to=, orig_to=, relay=dovecot, delay=0.05, delays=0.02/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure) Сокет /var/run/dovecot/auth-master действительно отсутствует: # ls -l /var/run/dovecot/ total 8 srw------- 1 root root 0 Jun 12 00:39 auth-worker.19192 srwxrwxrwx 1 root root 0 Jun 12 00:39 dict-server drwxr-x--- 2 root dovecot 4096 Jun 12 00:39 login -rw------- 1 root root 6 Jun 12 00:39 master.pid Хотя в конфиге он указан. Почему его нет? -- С уважением, Прокопьев Евгений