ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: slava@tangramltd.com,
	ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] pop3-сервер с users/passwords/mbox names в plain text file
Date: Mon, 11 Jun 2007 22:33:28 +0400
Message-ID: <466D9578.2070707@stc.donpac.ru> (raw)
In-Reply-To: <466D74EC.10509@tangramltd.com>

Slava Dubrovskiy пишет:
> Eugene Prokopiev пишет:
> 
>>>>Но есть другая и намного более важная проблема: а как этим пользователям 
>>>>доставить почту? Postfix хочет знать всех, кому он доставляет почту, как 
>>>>сообщить ему, что есть еще пользователи, описанные в 
>>>>/etc/dovecot/dovecot.passwd? http://wiki.dovecot.org/LDA/Postfix читал, 
>>>>решения там нет, т.к. delver задействуется уже после проверки наличия 
>>>>пользователя.
>>>>      
>>>
>>>в courier-imap такой проблемы нет. Почему он вас не устраивает?
>>>    
>>
>>да не то, чтоб не устраивает, а просто захотелось с dovecot поиграться :)
>>fast, secure и все такое ...
> 
> ну укажите в virtual_alias_maps = cdb:/etc/postfix/valias
> или в local_recipient_maps=

# cat /etc/postfix/vusers
user    yes
# postmap /etc/postfix/vusers
# cat /etc/postfix/main.cf
mailbox_command = /usr/bin/procmail -a $DOMAIN -d $LOGNAME
unknown_local_recipient_reject_code = 550
local_recipient_maps = $alias_maps, cdb:$config_directory/vusers
# service postfix restart
Shutting down postfix: 
                                                                [ DONE ]
Adjusting environment for postfix: 
                                                                [ DONE ]
Checking postfix configuration: 
                                                                [ DONE ]
Starting postfix: 
                                                                [ DONE ]
# echo hello | mail -s "Test Message" user

В логе:

Jun 11 22:14:57 myhost postfix/pickup[3264]: 5903FFDD1: uid=0 from=<root>
Jun 11 22:14:57 myhost postfix/cleanup[3275]: 5903FFDD1: 
message-id=<20070611181457.5903FFDD1@myhost.mydomain.com>
Jun 11 22:14:57 myhost postfix/qmgr[3266]: 5903FFDD1: 
from=<root@myhost.mydomain.com>, size=304, nrcpt=1 (queue active)
Jun 11 22:14:57 myhost postfix/local[3277]: 5903FFDD1: 
to=<user@myhost.mydomain.com>, orig_to=<user>, relay=local, delay=0.04, 
delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "user")
Jun 11 22:14:57 myhost postfix/cleanup[3275]: 5FB6BFDD5: 
message-id=<20070611181457.5FB6BFDD5@myhost.mydomain.com>
Jun 11 22:14:57 myhost postfix/bounce[3278]: 5903FFDD1: sender 
non-delivery notification: 5FB6BFDD5
Jun 11 22:14:57 myhost postfix/qmgr[3266]: 5FB6BFDD5: from=<>, 
size=2059, nrcpt=1 (queue active)
Jun 11 22:14:57 myhost postfix/qmgr[3266]: 5903FFDD1: removed
Jun 11 22:14:57 myhost postfix/local[3277]: 5FB6BFDD5: 
to=<root@myhost.mydomain.com>, relay=local, delay=0.01, 
delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: "root")
Jun 11 22:14:57 myhost postfix/qmgr[3266]: 5FB6BFDD5: removed

Почему unknown user: "user"?

-- 
С уважением, Прокопьев Евгений


  reply	other threads:[~2007-06-11 18:33 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-11  5:10 Eugene Prokopiev
2007-06-11  8:32 ` Konstantin A. Lepikhov
2007-06-11 10:18   ` Eugene Prokopiev
2007-06-11 10:50     ` Konstantin A. Lepikhov
2007-06-11  9:19 ` Eugene Prokopiev
2007-06-11 10:02   ` Konstantin A. Lepikhov
2007-06-11 11:22     ` Eugene Prokopiev
2007-06-11 16:14       ` Slava Dubrovskiy
2007-06-11 18:33         ` Eugene Prokopiev [this message]
2007-06-11 18:48           ` Konstantin A. Lepikhov
2007-06-11 19:38             ` Eugene Prokopiev
2007-06-11 19:49             ` Eugene Prokopiev
2007-06-11 19:52               ` Konstantin A. Lepikhov
2007-06-11 20:07                 ` Eugene Prokopiev
2007-06-11 20:11                   ` Konstantin A. Lepikhov
2007-06-11 20:28                     ` Eugene Prokopiev
2007-06-11 20:27                       ` Konstantin A. Lepikhov
2007-06-11 20:51                         ` Eugene Prokopiev
2007-06-11 18:54           ` Eugene Prokopiev
2007-06-11 18:55             ` Konstantin A. Lepikhov
2007-06-11 20:59           ` Eugene Prokopiev
2007-06-11 21:04             ` Konstantin A. Lepikhov
2007-06-12  7:20               ` Eugene Prokopiev
2007-06-12  7:35                 ` Slava Dubrovskiy
2007-06-12  7:45                   ` Eugene Prokopiev
2007-06-12  8:06                     ` Slava Dubrovskiy
2007-06-12  8:20                 ` Konstantin A. Lepikhov
2007-06-12  9:20                   ` Eugene Prokopiev
2007-06-12 10:43                     ` Eugene Prokopiev
2007-06-12  7:42               ` Eugene Prokopiev
2007-06-12  8:13                 ` Slava Dubrovskiy
2007-06-12  9:28                   ` Eugene Prokopiev
2007-06-12  9:32                     ` Slava Dubrovskiy
2007-06-12 13:38                     ` Eugene Prokopiev
2007-06-12 14:06                       ` Eugene Prokopiev
2007-06-12 14:10                         ` Konstantin A. Lepikhov
2007-06-12 14:29                           ` Eugene Prokopiev
2007-06-12 16:43                             ` Konstantin A. Lepikhov
2007-06-12 17:14                               ` Eugene Prokopiev
2007-06-12 19:27                                 ` Konstantin A. Lepikhov
2007-06-13  6:32                                   ` Eugene Prokopiev
2007-06-12 14:22                         ` Slava Dubrovskiy
2007-06-12 14:29                           ` Eugene Prokopiev
2007-11-25  3:55                         ` Aleksey Avdeev
2007-06-12 10:40   ` Slava Dubrovskiy

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=466D9578.2070707@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=slava@tangramltd.com \
    --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