ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Muratov <migor@altlinux.ru>
To: community@altlinux.ru
Subject: [Comm] Re: virtual mail domain
Date: Wed, 02 Apr 2003 22:18:50 +0400
Message-ID: <3E8B298A.6080803@altlinux.ru> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Dmitry Lebkov пишет:
|
| >2. Настроить почтовый сервер таким образом, чтоб он _не принимал_ почту
| >   для несуществующих адресов.
| >
| >Т.к. у тебя пользователи в userdb, то можно попытаться использовать
этот самый
| >/etc/courier-imap/userdb.db как postfix map. Если maildrop-userdb у
тебя описан
| >как транспорт maildrop, то тебе должно помочь что-то типа:
| >
| >maildrop_recipient_map = hash:/etc/courier-imap/userdb
| >
| >Подробности - в доках postfix'а, в районе local_recipient_map.
| >
| Попробывал этот метод - результат 0.
| Что-то не нравится postfix такая база.
| Может кто-нибудь уточнит правильный формат.
| Или будут другие предложения?

Ага, будут. Выбросить courier-imap нафиг вместе с его доставщиком
Я для таких вещей использую pam тогда можно использовать _любой_
имап/поп сервер, знают они что-либо про LDAP или нет. По хорошему и не
должны. К примеру есть popa3d который авторизует пользователей из LDAP и
его даже патчить на это не пришлось ;)
А postfix настраивается на это дело вообще просто

virtual_maps = ldap:virtual, hash:/etc/postfix/virtual
virtual_server_host = localhost
virtual_search_base = ou=People,dc=domain,dc=ru
virtual_query_filter = (&(objectclass=inetLocalMailRecipient)(mail=%s))
virtual_result_attribute = mailLocalAddress,mailRoutingAddress

Должен признаться по началу я тоже с курьером мучался но через pam все
получилось гораздо проще.

|
|
| --
| Евгений


- --
With best regards                    System administrator
Igor Muratov                         mailto:migor at altlinux.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+iymJqjgjB/MK76QRAiUyAKC9X7SQ31H7s8DVhrlyhFySJqhTegCeIrBA
WPBdwMv8TxpJ/3xjFNABKWo=
=BzHG
-----END PGP SIGNATURE-----



             reply	other threads:[~2003-04-02 18:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 18:18 Igor Muratov [this message]
2003-04-02 22:16 ` Dmitry Lebkov
2003-04-03 11:21   ` Igor Muratov
2003-04-03 21:48     ` Dmitry Lebkov
2003-04-04  7:00       ` Igor Muratov
2003-04-04 12:07         ` Dmitry Lebkov
2003-04-04 12:13         ` 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=3E8B298A.6080803@altlinux.ru \
    --to=migor@altlinux.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