ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Прокопьев Евгений" <john@rmts.donpac.ru>
To: sisyphus <sisyphus@altlinux.ru>
Subject: [sisyphus] Maildrop+userdb
Date: Mon, 18 Nov 2002 08:12:03 +0300
Message-ID: <3DD876A3.7060109@rmts.donpac.ru> (raw)

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

Начал снова разбираться с 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")
-- 
С уважением, Прокопьев Евгений



             reply	other threads:[~2002-11-18  5:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-18  5:12 Прокопьев Евгений [this message]
2002-11-18  7:45 ` Dmitry Lebkov
2002-11-18  9:36   ` Прокопьев Евгений
2002-11-18 11:36     ` Dmitry Lebkov

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=3DD876A3.7060109@rmts.donpac.ru \
    --to=john@rmts.donpac.ru \
    --cc=sisyphus@altlinux.ru \
    /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 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