From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Courier IMAP + userdb
Date: Fri, 23 May 2003 18:09:19 +1100
Message-ID: <20030523180919.3b7297c7.dima@sakhalin.ru> (raw)
In-Reply-To: <3ECDB196.4060901@rmts.donpac.ru>
On Fri, 23 May 2003 09:28:54 +0400
Прокопьев Евгений <john@rmts.donpac.ru> wrote:
> metrol@amur.ru пишет:
>
> >> # userdb marconi@myserver.ru set systempw=1
> >> # cat userdb
> >> marconi@myserver.ru
> >> uid=8|systempw=1|mail=/var/spool/mail/marconi|home=/var/spool/mail/marconi|gid=12
>
> > ^^^^^^^^^^^^^^^^^^^ - имя пользователя в Мозилла должно быть именно
> > таким
>
> Спасибо, так и есть.
>
> > или заведи просто пользователя: marconi, без имени домена.
>
> А в этом случае при попытке доставить marconi почту maildrop говорит в лог:
>
> May 23 09:18:38 myserver postfix/pickup[3663]: A3D4C1B2B: uid=0 from=<root>
> May 23 09:18:38 myserver postfix/cleanup[3707]: A3D4C1B2B:
> message-id=<20030523051838.A3D4C1B2B@myserver.ru>
> May 23 09:18:38 myserver postfix/qmgr[3666]: A3D4C1B2B:
> from=<root@myserver.ru>, size=279, nrcpt=1 (queue active)
> May 23 09:18:38 myserver maildrop[3710]: Invalid user specified.
> May 23 09:18:38 myserver postfix/pipe[3709]: A3D4C1B2B:
> to=<marconi@myserver.ru>, relay=maildrop, delay=0, status=deferred
> (temporary failure. Command output: /usr/bin/maildrop-userdb: Invalid
> user specified. )
>
> Можно, конечно сделать скрипт-враппер, который будет приводить имя к
> требуемому виду и отдавать maildrop-userdb, но как-то это слишком грязно.
Если я еще не надоел: доки - РУЛЕЗФОРЕВА! %))))
в master.cf:
maildrop-userdb -d ${user}
будет выполнен как maildrop-userdb -d marconi
maildrop-userdb -d ${recipient}
будет выполнен как maildrop-userdb -d marconi@mysqerver.ru
В main.cf также есть свои макросы: $RECIPIENT, $LOGNAME, $DOMAIN
Подставлять в нужное место ... ;)
--
WBR, Dmitry Lebkov
next prev parent reply other threads:[~2003-05-23 7:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-22 10:08 Прокопьев Евгений
2003-05-22 23:32 ` metrol
2003-05-23 5:28 ` Прокопьев Евгений
2003-05-23 7:09 ` Dmitry Lebkov [this message]
2003-05-23 9:34 ` Прокопьев Евгений
2003-05-23 6:55 ` Gleb Kulikov
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=20030523180919.3b7297c7.dima@sakhalin.ru \
--to=dima@sakhalin.ru \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git