Primary Email Address Manipulation

Paul Bronson signaldeveloper at gmail.com
Fri Aug 28 02:40:50 CEST 2015


Guys,

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

It shows correctly BEFORE creating the user, but once you hit submit to
create the user, it shows scrambled such as:

'john[0:1]'doe at domain.com

Any ideas?


On Mon, Aug 10, 2015 at 11:25 PM, Paul Bronson <signaldeveloper at gmail.com>
wrote:

> Thank you! Just needed a nice point in the right direction.. Here's what I
> used for reference to anyone else who has the same question:
>
> primary_mail ='%(givenname)s'[0:1]%(surname)s@%(domain)s
>
> On Mon, Aug 10, 2015 at 11:16 PM, Dugite-Code <dugite at peekread.info>
> wrote:
>
>>
>> It's easy enough by editing the kolab.conf file at the very end and the
>> primary_mail  variable at the start
>>
>> [yourdomain.com]
>> default_quota = 1048576
>> primary_mail = %(givenname)s.%(surname)s@%(domain)s
>>
>> On a personal install I did have changed it to:
>>
>> [yourdomain.com]
>> default_quota = 1048576
>> primary_mail = %(givenname)s@%(domain)s
>>
>> It seamed to work fine for me but I don't know if this is the *correct*
>> way to do it. I don't know about the more complicated options like in the
>> secondary_mail section at the top.
>>
>> Note: I'm assuming the first primary_mail option at the top should match
>> the per domain setting, but then I wasn't game to fiddle to much.
>>
>> ---
>> Regards
>> Dugite-Code https://github.com/dugite-code/
>>
>>
>>
>> On 2015-08-11 10:57 am, Paul Bronson wrote:
>>
>> Hi again guys! :)
>>
>> I am wondering if it's possible for Kolab to create the primary email
>> address as something other than the default first.last at domain.com
>>
>> In our organization we use jdoe at domain.com instead of john.doe at domain.com
>>
>> I realize I can create secondary email addresses but would rather set the
>> primary as how we have always used it.
>>
>> Is there a configuration change somewhere I can make real quick?
>>
>> Thanks again!!!
>>
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150827/834d71bc/attachment.html>


More information about the users mailing list