after disaster Recovery i get "Access denied or connection failed for user "SYSTEM" in kopano-dagent
-
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 = 1login to Webapp for ‘normal’ users work, sending emails to external addresses works as well.
Any idea how to fix this?many Thanks
Florian -
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. -
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