Hello<br><br>I defined the following entries in my kolab address book<br><br>mail: <a href="mailto:catchall+domain1@mydomain.com" title="mailto:catchall+domain1@mydomain.com (mailto:catchall+domain1@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


catchall+domain1@mydomain.com</a><br>alias: @<a href="http://domain1.com/" title="http://domain1.com (http://domain1.com/)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">domain1.com</a><br>
<br>another entries <br><br>mail: <a href="mailto:catchall+domain2@mydomain.com" title="mailto:catchall+domain2@mydomain.com (mailto:catchall+domain2@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

catchall+domain2@mydomain.com
</a><br>
alias: @<a href="http://domain2.com/" title="http://domain2.com (http://domain2.com/)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">domain2.com</a><br>
<br>the first entry make every email for "@<a href="http://domain1.com/" title="http://domain1.com (http://domain1.com/)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">domain1.com</a>"  going to subfolder  domain1 in mailbox 
<a href="mailto:catchall@mydomain.com" title="mailto:catchall@mydomain.com (mailto:catchall@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">catchall@mydomain.com</a><br>(dont forget to create mailbox 
<a href="mailto:catchall@mydomain.com" title="mailto:catchall@mydomain.com (mailto:catchall@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">catchall@mydomain.com</a>, create subfolder domain1 and give access "p anyone" to the folder)
<br>The second one do the same for domain2<br><br>FYI 
'+'  is and email extended notation, that is used by cyrusimap to
deliver email into a subfolder. This is called "plus addressing" <br><br>I don't know if someone thought about that before me or if I am the first one  :-)<br><br>I first setup a more standard catchall using /kolab/etc/kolab/templates
<div>/virtual.template entries: 
<br>(dont forget the /kolab/sbin/kolabconf to regenerate config files after modifying templates)
<br><br>> @<a href="http://mydomain.com/" title="http://mydomain.com (http://mydomain.com/)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mydomain.com</a> <a href="mailto:catchall@mydomain.com" title="mailto:catchall@mydomain.com (mailto:catchall@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


catchall@mydomain.com</a><br>> <a href="mailto:foo@mydomain.com" title="mailto:foo@mydomain.com (mailto:foo@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">foo@mydomain.com</a> <a href="mailto:catchall+foo@mydomain.com" title="mailto:catchall+foo@mydomain.com (mailto:catchall+foo@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">



catchall+foo@mydomain.com</a><br>> <a href="mailto:bar@mydomain.com" title="mailto:bar@mydomain.com (mailto:bar@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bar@mydomain.com</a>

 <a href="mailto:catchall+bar@mydomain.com" title="mailto:catchall+bar@mydomain.com (mailto:catchall+bar@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
catchall+bar@mydomain.com</a><br><br>to redirect everything @<a href="http://mydomain.com/" title="http://mydomain.com (http://mydomain.com/)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mydomain.com</a>   into mailbox catchall and some email directly into subfolder :-)<br>I got the idea to try to move<br><br>> <a href="mailto:foo@mydomain.com" title="mailto:foo@mydomain.com (mailto:foo@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


foo@mydomain.com</a> <a href="mailto:catchall+foo@mydomain.com" title="mailto:catchall+foo@mydomain.com (mailto:catchall+foo@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
catchall+foo@mydomain.com</a><br>> <a href="mailto:bar@mydomain.com" title="mailto:bar@mydomain.com (mailto:bar@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bar@mydomain.com</a>

 <a href="mailto:catchall+bar@mydomain.com" title="mailto:catchall+bar@mydomain.com (mailto:catchall+bar@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
catchall+bar@mydomain.com</a><br><br>into the addressbook to make these entries easier to manage, and not always edit the 
virtual.template file.<br>It was working<br>Finally I moved  the "catchall" into the addressbook <br><br>>@<a href="http://mydomain.com/" title="http://mydomain.com (http://mydomain.com/)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


mydomain.com</a> <a href="mailto:catchall+unexistingfolder@mydomain.com" title="mailto:catchall+unexistingfolder@mydomain.com (mailto:catchall+unexistingfolder@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


catchall+unexistingfolder@mydomain.com</a><br><br>The only drawback I saw, is because I cannot define another "mail" or "alias" <a href="mailto:catchall@mydomain.com" title="mailto:catchall@mydomain.com (mailto:catchall@mydomain.com)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


catchall@mydomain.com</a>
inside the ldap database to keep unicity, I cannot redirect emails into
catchall mailbox and must use the plus addressing and then make the
delivery into a subfolder.
<br>BUT if the subfolder dont exist the mail will go to parent folder, this is why I use unexistingfolder<br><br>Is-it a bug or a feature ?<br><br>I dont thing this is a good idea to put "system" mapping into the address book. This is useless for the end user.
<br>BUT I have this feature and want to keep it !!!<br><br>I good idea
to separate system mapping entries from normal addressbook entries is
to add a ldap field for normal address book entries and add this field
as a selector inside <a href="http://ldapvirtual.cf/" title="http://ldapvirtual.cf (http://ldapvirtual.cf/)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ldapvirtual.cf</a> file.<br><br>Maybe
this could be also a security hole ? And modifying the ldap filter to
only use entries of class kolabInetOrgPerson resolve it.<br><br>And how does kolabgui and kolabd react when they meet mail of the form "
<a href="mailto:catchall+unexistingfolder@asxnet.loc" title="mailto:catchall+unexistingfolder@asxnet.loc (mailto:catchall+unexistingfolder@asxnet.loc)" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

catchall+unexistingfolder@asxnet.loc</a>"
does it try create a cyrus mailbox for catchall+unexistingfolder ?
Is-it smart and just try to create a catchall mailbox ? Or does this
case was not thought before ?
<br><br>Any comment ?<br><br>Hope this will give people some idea and help other to have a better understanding of ldap, postfix and cyrus capabilities.<br><br>Best regards<br><br></div>--<br>Alain Spineux<br>aspineux gmail com
<br>May the sources be with you<br>