ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Maildrop+userdb
@ 2002-11-18  5:12 Прокопьев Евгений
  2002-11-18  7:45 ` Dmitry Lebkov
  0 siblings, 1 reply; 4+ messages in thread
From: Прокопьев Евгений @ 2002-11-18  5:12 UTC (permalink / raw)
  To: sisyphus

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

Начал снова разбираться с userdb.

/etc/postfix/master.cf:

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

Именно mail, а не vmail - у меня есть такой пользователь и я не хочу, 
чтобы он сидел без дела

/etc/postfix/main.cf:

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

/etc/courier-imap/userdb:

shared  home=/var/spool/mail/shared|mail=/var/spool/mail/shared|uid=8|gid=12

/var/spool/mail/shared создавался так:

su - mail
maildirmake -S /var/spool/mail/shared

В README.ALT из maildrop на предмет -d $LOGNAME@$DOMAIN ничего не нашел.

Постфикс перезапущен, userdb пересоздана. И тем не менее:

[root@athlon mail]# echo hello | mail shared
[root@athlon mail]# tail /var/log/mail/all
Nov 17 12:10:21 athlon postfix/pickup[3620]: 186BF72DA: uid=0 from=<root>
Nov 17 12:10:21 athlon postfix/cleanup[3934]: 186BF72DA: 
message-id=<20021117091021.186BF72DA@athlon.home>
Nov 17 12:10:21 athlon postfix/qmgr[3621]: 186BF72DA: 
from=<root@athlon.home>, size=282, nrcpt=1 (queue active)
Nov 17 12:10:21 athlon postfix/local[3936]: 186BF72DA: 
to=<shared@athlon.home>, relay=local, delay=0, status=bounced (unknown 
user: "shared")
-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-18 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-18  5:12 [sisyphus] Maildrop+userdb Прокопьев Евгений
2002-11-18  7:45 ` Dmitry Lebkov
2002-11-18  9:36   ` Прокопьев Евгений
2002-11-18 11:36     ` Dmitry Lebkov

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