|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : mitrohin a.s. 2:5020/400 19 Apr 2006 19:35:06 To : Alexander Gottlieb Subject : Re: Cyrus-imap 2.3.x и автоматизированное создание почтовых ящиков? --------------------------------------------------------------------------------
On Sat, Apr 15, 2006 at 04:13:10PM +0400, Alexander Gottlieb wrote:
> Собственно сабж?
>
> Hужно довольно оперативно перенести несколько сотен почтовых ящиков с
> одного сервера (там не cyrus) на другой. Перенести тупо создав пустые новые
> ящики, прописать права доступа и квоты (т.е. содержимое ящиков переносить
> не надо). Руками это конечно можно сделать посредством cyradm'а, но думаю
> можно и автоматизировать. Есть ли чего готовое на эту тему? Или прощес самому
> на перле чего наваять?
>
http://email.uoa.gr/projects/cyrus/autocreate
Autocreate INBOX is a patch for Cyrus IMAP server that enables automatic
creation of user mailboxes under some certain circumstances. It is intended
for large installations where there is a strong possibility that not all
users are going to use the mail service. Additionaly this patch will be
useful for sites that couldn't afford or wouldn't like to have a per-user
mechanism to create INBOXes. In such cases the best solution is to insert
a user entry in a user database and let Cyrus create the mailboxes when it
is necessary.
Autocreate patch enables the following situations when a user mailbox may be
created.
* When a user logs in the system (through the IMAP or POP3 protocol)
and there is no INBOX.
In this case, the user gets authenticated by Cyrus against a user
database (sasldb, shadow, ldap, mysql etc.) After the authentication
Cyrus checks if the user INBOX exists and creates it if needed.
* When an incoming message arrives (through the LMTP protocol) for a
mailbox that does not exist.
In this case, it is the responsibility of the MTA to check against
the user database if the recipient exists. On existence of the
recipient, the MTA passes the message to the LMTPd. LMTPd tries to
deliver the message to the recipient's mailbox. If the mailbox does
not exist, lmtpd creates it.
не знаю почему эти патчи не входят в основное дерево и не собираются
туда попадать, но они поддерживаются и адаптируются на на новые версии
довольно быстро.
/swp
--- ifmail v.2.15dev5.3
* Origin: BSPU InterNetNews site (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/34999a2c7bad.html, оценка из 5, голосов 10
|