Index: [Article Count Order] [Thread]

Date:  Thu, 10 Jan 2008 11:28:10 +0100
From:  =?UTF-8?Q?Tom_M=C3=BCller-Kortkamp?= <tmueko (at mark) kommunity.net>
Subject:  [coba-e:11688] Re: Project "Ellis" announcement
To:  coba-e (at mark) bluequartz.org
Message-Id:  <8B9CF32A-AD0E-486F-AF0C-B15E1B5DA1A6 (at mark) kommunity.net>
In-Reply-To:  <20080101174459.0a8c5b32@patricko>
References:  <F87B3A89-2ED1-4933-B33B-D489B50EB08A (at mark) alpha.or.jp> <47629B93.3030 0 (at mark) enavn.com> <Pine.LNX.4.63.0712141529270.15992 (at mark) mail.nuonce.net> <20071215122113.5dfeda22 (at mark) patricko> <20080101174459.0a8c5b32 (at mark) patricko>
X-Mail-Count: 11688

Am 01.01.2008 um 10:44 schrieb patricko:

> On Sat, 15 Dec 2007 12:21:13 +0800
> patricko <patricko (at mark) staff.singnet.com.sg> wrote:
>
>>
>> Hi Blues
>>
>>
>> I am porting CODB to Openldap 2.4.6 with Berkeley DB 4.6.21
>>
>> Will release my work in ***2008 August*** after I submit Openldap- 
>> BQ project to University.
>>
>> Openldap-BQ will run parallel with CODB
>>
>> Maybe can someone take over from where I stop and integrate into  
>> CentOS5 after August.


First something about ldap:
I don't think that we need multi-master for BlueQuarz and when we  
resurrect the Cobalt-Management-RaQ(this code isn't free!?) a single- 
master/multi-slave should be enough.
OpenLDAP-2.4 (Centos5 uses 2.3.27;-( ) does support multi-master  
(haven't tried it myself but: http://www.openldap.org/doc/admin24/ 
replication.html#LDAP%20Sync%20Replication


next: This should not end in an Sendmail<->Postfix flamewar!

I've another thing to mention: Sendmail only supports one(1)  
virtusertable! You configure it with something like this:
FEATURE(`virtusertable', `ldap:-1 -k (&(objectClass=<mailObjectClass>) 
(|(mail=%0)(<someOtherMailAttribute>=%0))) -v  
uid,<anotherAttribValue>,<thirdAttribValue>')dnl
instead of
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')

and no text-based file any more

with postfix you do
virtual_alias_maps = ldap:virtual_local, hash:$confdir/virtusertable,  
regexp:$confdir/regexp

i.e:
then configure your maps
virtual_local_host = 127.0.0.1
virtual_local_search_base = dc=<domain>,dc=<my>
virtual_local_query_filter = (&(objectClass=<mailObjectClass>)(|(mail= 
%s)(<someOtherMailAttribute>=%s)))
virtual_local_result_attribute =  
uid,<anotherAttribValue>,<thirdAttribValue>

the format of the postfix-map is nealry the same as the sendmail map.
this like "@domain	%1+%2@other_domain" doesn't work any more but the  
regex-typetype is far more advanced as you kan use real regular  
expressions!

Most of the sendmail-milters do work with postfix (I only know clamav- 
milter not working with postfix (you have to change 1 line of code))


I know both MTA very well and IMHO Postfix is the better choice ãàŽ¦  
just my 5ct.

tmueko