From: "Вадим Илларионов" <master@nstel.ru> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] all-rwNdu3Xx/YEdnm+yROfE0A@public.gmane.org & LDAP Date: Thu, 03 Jul 2008 22:31:05 +0400 Message-ID: <g4j5t8$pbl$1@ger.gmane.org> (raw) In-Reply-To: <g4ip82$b1i$1@ger.gmane.org> Вадим Илларионов wrote: > В каталоге LDAP есть специальный пользователь all, в атрибуте mailDrop > которого перечислены все пользователи домена. Перенёс все адреса из mailDrop в атрибут mail. Теперь команда postmap -q all@domain.org ldap:/etc/postfix/ldap-aliases.cf исправно перечисляет csv-mailboxes доменных юзеров при таком вот содержимом конфига /etc/postfix/ldap-aliases.cf : version = 3 server_host = ldap://localhost domain = domain.org bind = no search_base = ou=Users,dc=domain,dc=org query_filter = uid=%u result_attribute = mail # result_attribute = mail, mailDrop > Ожидалось, что отправка письма на адрес all@domain.org приведёт к доставке > этого письма всем пользователям домена. > Но что-то не выходит каменный цветок. А выходит следующее: > > <all@domain.org>: can't create user output file. Command output: procmail: > Couldn't create "/var/spool/mail/all" Увы, цветок так и не смягчился, и выводится вовне не менее болезненно. Вкуривание http://www.postfix.org/LDAP_README.html просветления не принесло. Все взятые оттуда примеры ходят лесом, и всё вокруг да около. А мне оч.надо перенести мыло с внешнего шлюза (где база юзеров и алиасов запихана в МуСКуЛь) на внутренний сервант, где и Давкот, и Постфикс, и все-все-все ловят свои фигушки из ЛДАПа. Внутри сейчас работает ВСЁ... кроме всеобщей рассылки через единый адрес. Спасите, а? _________________________________ С уважением, Вадим Илларионов системный администратор ООО "Новые Системы Телеком" UIN: 7899517 JID: master at usib dot irkps dot ru Телефоны: - рабочий +7 495 6414045+5885 - мобильный +7 916 3889337
next prev parent reply other threads:[~2008-07-03 18:31 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-03 14:54 [Sysadmins] all@domain.org " Вадим Илларионов 2008-07-03 18:31 ` Вадим Илларионов [this message] 2008-07-03 20:04 ` Eugene Ostapets 2008-07-04 8:09 ` [Sysadmins] all-rwNdu3Xx/YEdnm+yROfE0A@public.gmane.org " Вадим Илларионов
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='g4j5t8$pbl$1@ger.gmane.org' \ --to=master@nstel.ru \ --cc=sysadmins@lists.altlinux.org \ /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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git