<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I have been modifying the main.cf.template & main.cf files
by hand to add domains.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>basically, so long as the domain & subdomains exist in
<STRONG>mydestination</STRONG>, I haven't needed to modify the ldap structure,
just add users with their unique email address</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>For the canonical names, I changed main.cf.template and
main.cf to include <STRONG>recipient_canonical_maps =
hash:/kolab/etc/postfix/canonical</STRONG> rather than just
<STRONG>canonical_maps</STRONG> (which operates in both directions), then
postmap the file to create <STRONG>canonical.db</STRONG></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Also the same for aliases... to create
<STRONG>aliases.db</STRONG></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Then remove the references to
<STRONG>masquerade_domains</STRONG> & <STRONG>masquerade_exceptions
</STRONG>to avoid rewriting outward addresses.</FONT></DIV>
<DIV><FONT size=2>The reload postfix.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>What I don't have is the scripting in the web interface
yet.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Do you feel the ldap change is necessary?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards,</FONT></DIV>
<DIV><FONT size=2>Peter.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mbenoist@web-m.fr href="mailto:mbenoist@web-m.fr">Matthieu
BENOIST</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=kroupware@mail.kde.org
href="mailto:kroupware@mail.kde.org">Kolab Server and KDE Client development
issues</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 02, 2003 10:47
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Kroupware] Multi domain and
multi alias</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hello, </FONT></DIV>
<DIV><FONT face=Arial size=2>I modified Kolab tosupport multi domain and multi
alias.</FONT></DIV>
<DIV><FONT face=Arial size=2>I created a new entry in the user
object on the ldap : "aliasDomain"</FONT></DIV>
<DIV><FONT face=Arial size=2>I created a new hugly object in ldap called
suppDomain, whith 3 entry : cn, aliasDomain and description</FONT></DIV>
<DIV><FONT face=Arial size=2>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 !</FONT></DIV>
<DIV><FONT face=Arial size=2>ex :</FONT></DIV>
<DIV><FONT face=Arial size=2>cn=mydomain.com</FONT></DIV>
<DIV><FONT face=Arial size=2>aliasDomain=mydomain.com</FONT></DIV>
<DIV><FONT face=Arial size=2>description=Domain of blabla</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I created an interface in the web
interface to create /delete domains, and modify the create/delete user
also. </FONT></DIV>
<DIV><FONT face=Arial size=2>In place of give <A
href="mailto:user@foo.bar">user@foo.bar</A> for the user mail, we give only
user, and we choose the domain in a list.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For the multi alias, I make a simply regular
expression who cut the entry. The separator is the space.</FONT></DIV>
<DIV><FONT face=Arial size=2>ex : the entry is : "info webmaster orange <A
href="mailto:test@foo.bar">test@foo.bar</A> bug@foo2.bar2 "</FONT></DIV>
<DIV><FONT face=Arial size=2>the alias info , webmaster and orange work
with all the domain, (like <A href="mailto:info@foo.bar">info@foo.bar</A> or
<A href="mailto:info@foo2.bar">info@foo2.bar</A>)</FONT></DIV>
<DIV><FONT face=Arial size=2>but the alias <A
href="mailto:test@foo.bar">test@foo.bar</A> and <A
href="mailto:bug@foo2.bar">bug@foo2.bar</A> work only with the domain after
the @ .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Voilą, </FONT></DIV>
<DIV><FONT face=Arial size=2>For the moment, this modifications works perfecly
but if</FONT><FONT face=Arial size=2> someone is interested by
that</FONT></DIV>
<DIV><FONT face=Arial size=2>or have advices to give me, especially for the
ldap, </FONT> <FONT face=Arial size=2>whom I know in no way.</FONT></DIV>
<DIV><FONT face=Arial size=2>There is specific plans to manage domaine with
ldap ?</FONT></DIV>
<DIV><FONT face=Arial size=2>Some advices to improve the thing would be very
considerable.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>All my excuses for my English, I hope that it
remains understandable.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Matthieu BENOIST</FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Kroupware mailing
list<BR>Kroupware@mail.kde.org<BR>http://mail.kde.org/mailman/listinfo/kroupware<BR></BLOCKQUOTE></BODY></HTML>