How to forward all email except...

Andy Kopciuch akopciuch at bddf.ca
Sun Oct 18 08:09:41 CEST 2015


On Saturday October 17 2015 09:11:33 signaldeveloper at gmail.com wrote:
> Bug 5210
> 
> - Paul
> 

https://issues.kolab.org/show_bug.cgi?id=5210

>From what I read in the bug, several things were attempted, most of which are 
incorrect.  Using double quotes instead of single, and using non valid syntax, 
etc.   The original notation was correct :

primary_mail = '%(givenname)s'[0:1]%(surname)s@%(domain)s

There is even attachments in the issue showing this working correctly in the 
kolab-webadmin.

--

Torsten posted a reference to a duplicate issue, already patched previously:

https://issues.kolab.org/show_bug.cgi?id=3553

Now from what I can see here, the patch was made quite some time ago, and is 
included in Kolab 3.4.   This patch only affected the kolab-webadmin.   The PHP 
code looks correct.

I don't know where the code that actually creates the mailbox inside cyrus 
resides, and I don't have the time to hunt that all down.   I suspect _that_ 
code also needs to be modified as well to handle formatting for primary_email, 
just like the web-admin.

I'm going to bet the web-admin is working and creates the LDAP entries 
properly but whatever is creating the mailboxes is using the kolab.conf, and 
determining the account name using the LDAP attributes set (surname, 
givenname, etc.)

I think the original issue 3553 should be re-opened, as it seemed to only fix 
half of the problem.


Andy


More information about the users mailing list