Announcement

Collapse
No announcement yet.

After moving Mailserver to new hardware, dovecot permission errors for new users

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

  • After moving Mailserver to new hardware, dovecot permission errors for new users

    Hello everyone,

    three weeks ago I migrated my Univention Server (4.2-3 errata284) with my installed open xchange (7.8.4-ucs10) from an Citrix VM to a newer VMware machine. I used starwindconverter and everything worked just fine. All users and all mailadresses worked like before, Outlook sync with oxtender worked perfectly but now I tried to create a new user with a new mailadress and when I try to log on as this user on the appsuite (or the older ox6 platform) I get errors:

    The connection to remote server darxxx.darxxx.eu was refused or timed out while attempting to connect. Please try again later. (ID: -623466272-1375 / MSG-1016) 26/6/2018 09:45
    /appsuite/api/mail
    Hide request body
    {
    "action": "threadedAll",
    "folder": "default0/INBOX",
    "columns": "102,600,601,602,603,604,605,606,607,608,610,611,6 14,652,656,X-Open-Xchange-Share-URL",
    "sort": 610,
    "order": "desc",
    "timezone": "utc",
    "limit": "0,50",
    "includeSent": true,
    "max": 300,
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb"
    }

    and

    he connection to remote server darxxx.darxxx.eu was refused or timed out while attempting to connect. Please try again later. (ID: -623466272-1376 / MSG-1016) 26/6/2018 09:45
    /appsuite/api/folders
    Hide request body
    {
    "action": "get",
    "altNames": true,
    "id": "default0/INBOX",
    "timezone": "UTC",
    "tree": 0,
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb"
    }

    and

    The connection to remote server darxxx.darxxx.eu was refused or timed out while attempting to connect. Please try again later. (ID: -623466272-1377 / MSG-1016) 26/6/2018 09:45
    /appsuite/api/folders
    Hide request body
    {
    "action": "list",
    "all": "0",
    "altNames": true,
    "parent": "default0/INBOX",
    "timezone": "UTC",
    "tree": 0,
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb",
    "columns": "1,2,3,4,5,6,20,23,300,301,302,304,305,306,307,308 ,309,310,311,312,313,314,315,316,317,318,319,3010, 3020,3030,3050"
    }

    and

    The connection to remote server darxxx.darxxx.eu was refused or timed out while attempting to connect. Please try again later. (ID: -623466272-1382 / MSG-1016) 26/6/2018 09:45
    /appsuite/api/mail
    Hide request body
    {
    "action": "all",
    "folder": "default0/INBOX",
    "columns": "610,600,601,611",
    "unseen": "true",
    "deleted": "false",
    "sort": "610",
    "order": "desc",
    "limit": 100,
    "timezone": "utc",
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb"
    }
    An error occurred inside the server which prevented it from fulfilling the request. (ID: -623466272-1397 / MAIL_FILTER-0014) 26/6/2018 09:45
    /appsuite/api/mailfilter/v2
    Hide request body
    {
    "action": "config",
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb"
    }

    In dovecot I get permission errors but I am a serious newbie with open xchange (and sadly Linux) and I am afraid that I could mess something up for the other users, who work perfectly fine at the moment.
    In the dovecot log I have these messages:
    darxxx dovecot: managesieve (email@darxxx.eu): Error: Invalid user settings. Refer to server log for more information.
    darxxx dovecot: imap (email@darxxx.eu): Error: user email@darxxx.eu: Initialisation faield: Namespace ' ': mkdir(/var/spool/dovecot/private/darxxx.eu/[USER]/Maildir) failed: Permission denied (euid=127 (dovemail) egid=135 (dovemail) missing +w perm: /var/spool/dovecot/private/darxxx.eu, dir owned by 0:0 mode=0755)

    These are repeating endlessly when trying to connect as the user.
    Its clear that here are missing permissions but as I said I am afraid to change anything because I dont want the other users to crash, too.

    Has anyone went through the same or a similar situation when they migrated a OX Server to other hardware or anything?

    Thanks in advance!

    Daniel

  • #2
    Thread can be closed.

    Originally posted by ckdst View Post
    Hello everyone,

    three weeks ago I migrated my Univention Server (4.2-3 errata284) with my installed open xchange (7.8.4-ucs10) from an Citrix VM to a newer VMware machine. I used starwindconverter and everything worked just fine. All users and all mailadresses worked like before, Outlook sync with oxtender worked perfectly but now I tried to create a new user with a new mailadress and when I try to log on as this user on the appsuite (or the older ox6 platform) I get errors:

    The connection to remote server darxxx.darxxx.eu was refused or timed out while attempting to connect. Please try again later. (ID: -623466272-1375 / MSG-1016) 26/6/2018 09:45
    /appsuite/api/mail
    Hide request body
    {
    "action": "threadedAll",
    "folder": "default0/INBOX",
    "columns": "102,600,601,602,603,604,605,606,607,608,610,611,6 14,652,656,X-Open-Xchange-Share-URL",
    "sort": 610,
    "order": "desc",
    "timezone": "utc",
    "limit": "0,50",
    "includeSent": true,
    "max": 300,
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb"
    }

    and

    he connection to remote server darxxx.darxxx.eu was refused or timed out while attempting to connect. Please try again later. (ID: -623466272-1376 / MSG-1016) 26/6/2018 09:45
    /appsuite/api/folders
    Hide request body
    {
    "action": "get",
    "altNames": true,
    "id": "default0/INBOX",
    "timezone": "UTC",
    "tree": 0,
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb"
    }

    and

    The connection to remote server darxxx.darxxx.eu was refused or timed out while attempting to connect. Please try again later. (ID: -623466272-1377 / MSG-1016) 26/6/2018 09:45
    /appsuite/api/folders
    Hide request body
    {
    "action": "list",
    "all": "0",
    "altNames": true,
    "parent": "default0/INBOX",
    "timezone": "UTC",
    "tree": 0,
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb",
    "columns": "1,2,3,4,5,6,20,23,300,301,302,304,305,306,307,308 ,309,310,311,312,313,314,315,316,317,318,319,3010, 3020,3030,3050"
    }

    and

    The connection to remote server darxxx.darxxx.eu was refused or timed out while attempting to connect. Please try again later. (ID: -623466272-1382 / MSG-1016) 26/6/2018 09:45
    /appsuite/api/mail
    Hide request body
    {
    "action": "all",
    "folder": "default0/INBOX",
    "columns": "610,600,601,611",
    "unseen": "true",
    "deleted": "false",
    "sort": "610",
    "order": "desc",
    "limit": 100,
    "timezone": "utc",
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb"
    }
    An error occurred inside the server which prevented it from fulfilling the request. (ID: -623466272-1397 / MAIL_FILTER-0014) 26/6/2018 09:45
    /appsuite/api/mailfilter/v2
    Hide request body
    {
    "action": "config",
    "session": "c4f7842a53b54cae8a75a4bb6af09cfb"
    }

    In dovecot I get permission errors but I am a serious newbie with open xchange (and sadly Linux) and I am afraid that I could mess something up for the other users, who work perfectly fine at the moment.
    In the dovecot log I have these messages:
    darxxx dovecot: managesieve (email@darxxx.eu): Error: Invalid user settings. Refer to server log for more information.
    darxxx dovecot: imap (email@darxxx.eu): Error: user email@darxxx.eu: Initialisation faield: Namespace ' ': mkdir(/var/spool/dovecot/private/darxxx.eu/[USER]/Maildir) failed: Permission denied (euid=127 (dovemail) egid=135 (dovemail) missing +w perm: /var/spool/dovecot/private/darxxx.eu, dir owned by 0:0 mode=0755)

    These are repeating endlessly when trying to connect as the user.
    Its clear that here are missing permissions but as I said I am afraid to change anything because I dont want the other users to crash, too.

    Has anyone went through the same or a similar situation when they migrated a OX Server to other hardware or anything?

    Thanks in advance!

    Daniel
    Okay this can be closed, I am stupid but I learned a lot today.
    This might be a little bit "dirty" but I saw, that the directory of the domain folder was owned by root as the only folder in this directory and I changed the owner of the directory to "dovemail:dovemail" and this worked.

    Thanks none the less!

    Comment

    Working...
    X