ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: [Comm] Q: postfix+cyrus - мы в город долгопрудный идём дорогой трудной
Date: Wed, 19 Jan 2005 12:27:40 +0300
Message-ID: <20050119092740.GF17588@immo.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 1503 bytes --]

А расскажите пожалуйста как сейчас кошерно заводить postfix в
связке с cyrus?

Сейчас сделано так:

mydestination = $myhostname, localhost.$mydomain, ldap:ldapdomains
...
local_recipient_maps = ldap:ldaprecipientmaps
...
alias_maps = 
virtual_alias_maps = ldap:ldapaliases
...
mailbox_transport = cyrus

ldaprecipientmaps выцепляет и ящики и алиасы.  ldapdomains
выцепляет все домены.

Немного смущает совместное использование local_recipient_maps и
virtual_alias_maps и имеется одна проблема.

Есть домен one.com и домен two.com.  В recipient_canonical_maps
прописано "@two.com @one.com".

Посылаем письмо на nonexistant@one.com - отлуп сессии с user
unknown.  Посылаем письмо на nonexistant@two.com - письмо
принимается и передаётся цирусу для nonexistant@one.com
(orig_to=nonexistant@two.com).

Если убрать recipient_canonical_maps - всё работает как надо
(отлупы в обоих случаях), но приходится для всех пользователей в
ldap заводить две записи "mail: user@one.com" и "mail: user@two.com"

Если virtual_alias_maps заменить на alias_maps то перестают
раскрываться алиасы.

Про postfix + cyrus нашёл только
http://www.delouw.ch/linux/postfix.phtml (там примерно такая же
конфигурация) и http://dudle.linuxroot.org/docs/postfix_cyrus/
(но тут нет проверок на существование пользователя).

Может я не туда смотрю?

-- 
Regards, Sir Raorn.
-------------------
Сделаю все, что будет в моих силах.
Последних, правда, совсем мало осталось.
		-- ldv in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2005-01-19  9:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19  9:27 Alexey I. Froloff [this message]
2005-01-19 10:12 ` Konstantin Klimchev
2005-01-19 10:27   ` Alexey I. Froloff
2005-01-19 10:44     ` Konstantin Klimchev
2005-01-21 10:26       ` Alexey I. Froloff
2005-01-24 14:30         ` Konstantin Klimchev

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=20050119092740.GF17588@immo.ru \
    --to=raorn@immo.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