Announcement

Collapse
No announcement yet.

Change primary email of context account

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change primary email of context account

    Hi everybody,

    I created a context by below cmd

    #createcontext -A oxadminmaster -P pass-master -c 1 -u oxadmin -d "Context Admin" -g Admin -s User -p secret11 -L wikihalo.com -e halo@gmail.com -q 1024 --access-combination-name=all


    I want to change the primary email that is halo@gmail.com to anorther email when the oxadmin has existed

    How to do that ?

    Thanks
    Last edited by quangduc08; 08-15-2013, 04:42 AM.

  • #2
    Hi,
    It has to be changed for the groupware and mail server. E.g. in sql open-xchange database table "user". Maybe it's easier and an acceptable solution to set an alias as defaultSenderAddress for the context admin.

    Regards
    Ursula

    Comment


    • #3
      Thanks pro-ite but have you another way that is more easier ?

      Comment


      • #4
        I Got It

        you have to set
        PRIMARY_MAIL_UNCHANGEABLE=true to false in AdminUser.properties

        note: i disabled authentication, so you have to use -A <contextdadmin> -P <contextpassword> with it ...

        # listuser -c 1 Id Name Displayname Email
        2 oxadmin Context Admin oxadmin@example.com
        3 testuser Test User testuser@example.com
        4 testuser2 Test User2 testuser2@example.com
        #changeuser -c 1 -i 2 -e blabla@blabla.com
        user 2 in context 1 changed
        # listuser -c 1 Id Name Displayname Email
        2 oxadmin Context Admin blabla@blabla.com
        3 testuser Test User testuser@example.com
        4 testuser2 Test User2 testuser2@example.com

        Thanks Martin,

        Comment

        Working...
        X