kopano-dagent error: Failed to resolve recipient

Hello community!

I produce my first installation and for several days I can not solve one problem.

When I try to send myself a letter from the outside, postfix redirects it to kopano-dagent, but the dagent can not resolve the recipient:

Feb 23 08:05:08 pushwt-new kopano-dagent[16092]: Failed to resolve recipient dfischer@new.mydomain.de (1)
Feb 23 08:05:08 pushwt-new kopano-dagent[16092]: Requested e-mail address "dfischer@new.mydomain.de" resolves to multiple users.

The user exists and only once:

root@pushwt-new:/var/log# kopano-cli --user dfischer
Name:                         dfischer
Full name:                    dfischer
Email address:                dfischer@new.mydomain.de
Active:                       yes
Administrator:                yes
Address Book:                 visible
Features:                     mobile; outlook; webapp
Store:                        BA94015D642F4304837811306FFE7D4C
Store size:                   0.00 MB
Send-as:
Delegation:
Auto-accept meeting requests: no
Out-Of-Office:                disabled
Current user store quota settings:
    Quota overrides:          no
    Warning level:            unlimited
    Soft level:               unlimited
    Hard level:               unlimited
Groups (2):
               Groupname
        ----------------
                Everyone
                dfischer

I tried to get more information and did the following:

kopano-dagent -vvv dfischer@new.mydomain.de
Feb 23 08:13:02 pushwt-new kopano-dagent[16169]: Unable to convert input to CRLF format: corrupt data (8004011b)
Feb 23 08:13:02 pushwt-new kopano-dagent[16169]: Failed to resolve recipient dfischer@new.mydomain.de (1)
Feb 23 08:13:02 pushwt-new kopano-dagent[16169]: HRESULT deliver_recipient(pym_plugin_intf*, const char*, bool, FILE*, DeliveryArgs*): ResolveUser failed: not found (8004010f)
Feb 23 08:13:02 pushwt-new kopano-dagent[16169]: int main(int, char**): deliver_recipient failed: not found (8004010f)

What should I check first?
I use Kopano-core version 8.6.80
Thanks in advance for your help.

Hello denis,

The log seems to hint at what’s going wrong:

Feb 23 08:05:08 pushwt-new kopano-dagent[16092]: Requested e-mail address "dfischer@new.mydomain.de" resolves to multiple users

I see the group dfischer also exists, does this group have the same email address? Or maybe there’s another user with the same email address?

More users were running into this issue and I’ve been able to reproduce your problem, see the ticket here:
https://jira.kopano.io/browse/KC-1066

@joost
Thanks for the link!
since 3 hours I am looking for the cause of the error, which also occurs at my customer’s system. I need a solution or workaround very urgently, because incoming emails cannot be delivered.

Klaus

Is it possible to downgrade? Where can I find the Debian 8 packages of version 8.4. x?

Hello

I think downgrading should be possible. I just found the old packages myself two days ago.
https://download.kopano.io/supported/core:/final/tarballs/archives/

When starting the kopano-server you must specify the “ignore-database-conflict” option on startup.

Hope that helps.

cheers

@sebschremser
Thank you very much for your quick and helpful answer. the downgrade to version 8.4.6 has worked and kopano-server can be started without any problems with --ignore-database-version-conflict. kopano-dagent now sends mails again.

Again - many, many thanks!

@kopano
Please upgrade the bugreport from medium to urgent, because this bug makes the email system unusable.
And please do not publish untested packages for stable systems in the future. Thanks.

@klausf said in kopano-dagent error: Failed to resolve recipient:

And please do not publish untested packages for stable systems in the future.

As if…

But you also fail to specify if the ticket does really apply to you. are you using the unix backend? So in 8.4.6 it works, but in the master build you’ve used before it fails?

@fbartels
I have already indicated the information in the support ticket which I have opened.
https://portal.kopano.com/sdtickets/details/KS-40109

After that I found this thread here.

And I referred to the publicly available ticket, which states that the error occurs with the unix backend. It is obvious that, if I refer to this ticket, my system also has these prerequisites:
https://jira.kopano.io/browse/KC-1066

I use the debian 8 package sources and updated the system with apt-get dist-upgrade. So from 8.4. x to 8.5. x

@klausf said in kopano-dagent error: Failed to resolve recipient:

if I refer to this ticket, my system also has these prerequisites

The world would be a better place if that would always be the case. But I confused you with the original poster in this thread and was also not aware that you opened a support case for such an error.