ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Postfix+Maildrop+userdb
@ 2002-11-10  7:04 Прокопьев Евгений
  0 siblings, 0 replies; only message in thread
From: Прокопьев Евгений @ 2002-11-10  7:04 UTC (permalink / raw)
  To: Sisyphus

Здравствуйте!

Не получается :(

В master.cf вписываю:

maildrop  unix	-	n	n	-	-	pipe
   flags=Ru user=mail argv=/usr/bin/maildrop-userdb -d ${recipient}

В main.cf вписываю:

mailbox_command = /usr/bin/maildrop-userdb -d $LOGNAME
maildrop_destination_recipient_limit = 1

Перезапускаю postfix.

Создаю пользователя useradd -g mail vmail, вхожу под его именем su - 
vmail и создаю Maildir: maildirmake -S Maildir. Потом удаляю 
/var/spool/mail/vmail и создаю ссылку с таким же именем на 
/home/vmail/Maildir.

Выхожу из su, в userdb вписываю:

vmail@[hostname].ru home=/home/vmail|mail=/home/vmail/Maildir|uid=516|gid=12
gmail@[hostname].ru home=/home/vmail|mail=/home/vmail/Maildir|uid=516|gid=12

Потом /usr/share/courier-imap/makeuserdb и rm userdb.lock

Теперь пользователю vmail почта доставляется как положено, а 
пользователю gmail не доставляется

Nov 10 10:12:31 [hostname] postfix/pickup[10408]: AE4DB6F8: uid=0 
from=<root>
Nov 10 10:12:31 [hostname] postfix/cleanup[10806]: AE4DB6F8: 
message-id=<20021110071231.AE4DB6F8@[hostname].ru>
Nov 10 10:12:31 [hostname] postfix/qmgr[10409]: AE4DB6F8: 
from=<root@[hostname].ru>, size=275, nrcpt=1 (queue active)
Nov 10 10:12:31 [hostname] postfix/local[10808]: AE4DB6F8: 
to=<gmail@[hostname].ru>, relay=local, delay=0, status=bounced (unknown 
user: "gmail")
Nov 10 10:12:31 [hostname] postfix/cleanup[10806]: C6F356FB: 
message-id=<20021110071231.C6F356FB@[hostname].ru>
Nov 10 10:12:31 [hostname] postfix/qmgr[10409]: C6F356FB: from=<>, 
size=1741, nrcpt=1 (queue active)
Nov 10 10:12:31 [hostname] postfix/local[10808]: C6F356FB: 
to=<john@[hostname].ru>, relay=local, delay=0, status=sent 
("|/usr/bin/maildrop-userdb -d $LOGNAME")

Что я неправильно делаю?

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-10  7:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-10  7:04 [sisyphus] Postfix+Maildrop+userdb Прокопьев Евгений

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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