Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    after disaster Recovery i get "Access denied or connection failed for user "SYSTEM" in kopano-dagent

    Kopano Groupware Core
    2
    3
    343
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fsoelch
      fsoelch last edited by

      Hi,
      after a disaster recovery using a DB and Attachement Backup on a newly installes Server (Ubuntu 20.04, Kopano core 10.0.1.32) i recieved the following messabes in dagent.log:

      2020-12-21T12:13:45.390892: [kopano-dagent|T36518] [error ] HrLogon server “file:///var/run/kopano/server.sock” user “SYSTEM”: logon failed
      2020-12-21T12:13:45.390965: [kopano-dagent|T36518] [error ] Access denied or connection failed for user “SYSTEM” using socket “file:///var/run/kopano/server.sock”: logon failed (80040111)
      2020-12-21T12:13:45.391023: [kopano-dagent|T36518] [debug ] Current uid:5000 username:vmail
      2020-12-21T12:13:45.391091: [kopano-dagent|T36518] [error ] HRESULT direct_delivery(int, char**, DeliveryArgs&&, FILE*, bool): deliver_recipient failed: logon failed (80040111)

      postfix main.cf is configured like before:
      mailbox_command = /usr/sbin/kopano-dagent “$USER”
      mailbox_transport = kopano: kopano_destination_recipient_limit = 1

      login to Webapp for ‘normal’ users work, sending emails to external addresses works as well.
      Any idea how to fix this?

      many Thanks
      Florian

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @fsoelch last edited by

        Hi @fsoelch,

        if you’re delivering via pipe the user that your mta runs as needs to be added to the local_admin_users setting in server.cfg. Better however would be to deliver the mails via lmtp.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • fsoelch
          fsoelch last edited by

          Hi @fbartels,
          thank a lot for you hint! This solved the issue!
          or some reason the postfix user had been changed without me noticing it. As of the error message i had the impression the kopano SYSTEM user is somehow corrupt!
          thanks again for your quick solution!!
          (in parallel i’m trying to switch to lmtp after heaving the family read their mails again :) )
          Regards
          Florian

          1 Reply Last reply Reply Quote 0
          • First post
            Last post