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