[Kroupware] Multi domain and multi alias

Peter Robb peter at newproject.pl
Thu Oct 2 15:07:09 CEST 2003


I have been modifying the main.cf.template & main.cf files by hand to add domains.

basically, so long as the domain & subdomains exist in mydestination, I haven't needed to modify the ldap structure, just add users with their unique email address

For the canonical names, I changed main.cf.template and main.cf to include recipient_canonical_maps = hash:/kolab/etc/postfix/canonical rather than just canonical_maps (which operates in both directions), then postmap the file to create canonical.db

Also the same for aliases... to create aliases.db

Then remove the references to masquerade_domains & masquerade_exceptions to avoid rewriting outward addresses.
The reload postfix.

What I don't have is the scripting in the web interface yet.

Do you feel the ldap change is necessary?

regards,
Peter.
  ----- Original Message ----- 
  From: Matthieu BENOIST 
  To: Kolab Server and KDE Client development issues 
  Sent: Thursday, October 02, 2003 10:47 AM
  Subject: [Kroupware] Multi domain and multi alias


  Hello, 
  I modified Kolab tosupport multi domain and multi alias.
  I created a new entry in the user object on the ldap : "aliasDomain"
  I created a new hugly object in ldap called suppDomain, whith 3 entry : cn, aliasDomain and description
  It is the first time I try to use ldap and create something with it and in this object, cn and aliasdomain are the same thing. Hugly !
  ex :
  cn=mydomain.com
  aliasDomain=mydomain.com
  description=Domain of blabla

  I created an interface in the web interface to create /delete domains, and modify the create/delete user also. 
  In place of give user at foo.bar for the user mail, we give only user, and we choose the domain in a list.

  For the multi alias, I make a simply regular expression who cut the entry. The separator is the space.
  ex : the entry is : "info webmaster orange test at foo.bar bug at foo2.bar2 "
  the alias info , webmaster and orange work with all the domain, (like info at foo.bar or info at foo2.bar)
  but the alias test at foo.bar and bug at foo2.bar work only with the domain after the @ .

  Voilà, 
  For the moment, this modifications works perfecly but if someone is interested by that
  or have advices to give me, especially for the ldap,  whom I know in no way.
  There is specific plans to manage domaine with ldap ?
  Some advices to improve the thing would be very considerable.

  All my excuses for my English, I hope that it remains understandable.

  Matthieu BENOIST


------------------------------------------------------------------------------


  _______________________________________________
  Kroupware mailing list
  Kroupware at mail.kde.org
  http://mail.kde.org/mailman/listinfo/kroupware
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kroupware/attachments/20031002/746fc01c/attachment.htm


More information about the Kroupware mailing list