Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2010
    Location
    Lleida, Spain
    Posts
    22

    Question Change users primary mail in production server.

    Hello,

    I alerted that user primary mail cannot be changed with changeuser, getting this error:
    "Primary mail must not be changed". (I'm synching users from LDAP).

    I want to ask if this restriction can be overriden in any way. I'd like to know because we are ready to deploy OX in the University where I work for a large amount of users, BUT there is a plan to change user mail addresses to unify them in the future (I do not know when will happen) and this change will affect a large amount of systems and it is not easy to do.

    The aim is to unify all mail addresses to user@domain.edu instead of user@subdomain.domain.edu

    How this change will affect to Open-Xchange accounts? Is there any solution to avoid problems when this finally happens?

    I cannot imagine what could happen if deletion of all accounts and creation of new ones is required :S
    Give your oppinions please! :-)


    Thanks,
    Gerard B.

  2. #2
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007
    Posts
    703

    Default

    that is a configurable behaviour via /opt/open-xchange/etc/admindaemon/User.properties:

    PRIMARY_MAIL_UNCHANGEABLE=false
    OXpedia.org - the answer to almost all questions.

  3. #3
    Join Date
    Nov 2010
    Location
    Lleida, Spain
    Posts
    22

    Default

    Hello,

    I tried changing to PRIMARY_MAIL_UNCHANGEABLE=false
    and it seems to work, BUT....

    I can only change the mail one time. If I change the mail for a second time I get the following error:

    Code:
    Server response:
     primaryMail, Email1 and defaultSenderAddress must be present in set of aliases.


    Quote Originally Posted by Carsten Hoeger View Post
    that is a configurable behaviour via /opt/open-xchange/etc/admindaemon/User.properties:

    PRIMARY_MAIL_UNCHANGEABLE=false

  4. #4
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007
    Posts
    703

    Default

    Quote Originally Posted by gbosch View Post
    Hello,

    I tried changing to PRIMARY_MAIL_UNCHANGEABLE=false
    and it seems to work, BUT....

    I can only change the mail one time. If I change the mail for a second time I get the following error:

    Code:
    Server response:
     primaryMail, Email1 and defaultSenderAddress must be present in set of aliases.
    As the error says, when you change the primary mail address you need to take care, that this new address is also present in one of the users aliases. Whatever value you apply to any of primaryMail, Email1 and defaultSenderAddress, it must also exist in the aliases the user has.
    OXpedia.org - the answer to almost all questions.

  5. #5
    Join Date
    Nov 2010
    Location
    Lleida, Spain
    Posts
    22

    Default

    Hi,

    and is there not any way to supress aliases and only take the current value of email from LDAP?

    If I change the primary mail for one user in LDAP I want this value get synched to OX and avoid all kind of aliases. Is it possible to do?

    Thanks!
    Gerard.

  6. #6
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007
    Posts
    703

    Default

    No, there isn't. The aliases are used as list of possible email addresses the user can choose as sender address when sending mail.
    OXpedia.org - the answer to almost all questions.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •