cannot delete secondary mail through webadmin

Christian Hügel christian.huegel at stonebyte.de
Sat Jan 11 14:16:39 CET 2014


...ok I had to reload kolabd to create the mailbox info at example.com  BUT 
as soon as I put those policy lines again in kolab.conf the mailbox gets 
renamed in info.info at example.com

Christian

Am 11.01.2014 11:28, schrieb Christian Hügel:
> Hi Daniel,
>
> this is weird, I can remember that this worked in the past?!
> The point is, when creating a mailbox like info at example.com I have to
> fill both surname/givenname as they are mandatory. Therefore the primary
> mail address looks like this info.info at example.com even if I edit the
> primary mail field to info at example.com
>
>
> So basically I have a policy like this under the [kolab] directive:
>
> secondary_mail = {
>          0: {
>          "{0}{1}@{2}":
> "format('%(surname)s','%(givenname)s'[0:1].capitalize(), '%(domain)s')"
>          },
>          1: {
>          "{0}.{1}@{2}": "format('%(surname)s', '%(givenname)s',
> '%(domain)s')"
>          },
>          2: {
>          "{0}@{1}": "format('%(givenname)s.%(surname)s', '%(domain)s')"
>          }
>          }
>
> primary_mail = %(givenname)s.%(surname)s@%(domain)s
>
>
> So for creating the mailbox info at example.com I`ve removed the above
> lines and recreate the mailbox but it's still info.info at example.com
> I think there has to be some default values that are used when the
> policy is missing in kolab.conf ?!
>
> Any hints are much appreciated. Thank you
>
>
>
> Am 21.12.2013 12:37, schrieb Daniel Hoffend:
>> Resend to mailinglist
>>
>>> Am 21.12.2013 um 12:36 schrieb Daniel Hoffend <dh at dotlan.net>:
>>>
>>> Yes
>>>
>>> When the addresses defined by primary or secondary mail policy aren't
>>> present they'll always get recreated even when admin_rw is set :-/
>>>
>>> The only way to get rid of this behavior is to remove the
>>> configuration from kolab.conf
>>>
>>> If you remove the primary address policy you've two ways to edit it.
>>> Either set admin fields rw true or modify the kolab user type and
>>> remove the generated/read only flag.
>>>
>>> --
>>> mfg
>>> Daniel Hoffend
>>>
>>>> Am 21.12.2013 um 12:20 schrieb Christian Hügel
>>>> <christian.huegel at stonebyte.de>:
>>>>
>>>> Hi,
>>>>
>>>> i have a mailbox which has two secondary mail addresses (aliases)
>>>> If I delete them in webadmin the user the mail addresses are still
>>>> there. I think webadmin reloads the secondary_mail part from kolab.conf
>>>>
>>>> Regards,
>>>>
>>>> Christian
>>>> _______________________________________________
>>>> users mailing list
>>>> users at lists.kolab.org
>>>> https://lists.kolab.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list