Kopano Wepapp sendas unknown users problem


  • I am using zarafa 7,1,11,46050 with send-as function. As an illustration, my domain is “test.com” and having a user called “User A” with email address “usera@test.com”. All users are stored in zarafa database only (not LDAP). In the Wepapp, “User A” set some non-exist and unknown users in the “send-as” setting. such as “noreturn@test.com”. User A can send mails as “noreturn@test.com” WITHOUT ANY “on behalf of” wordings and the recipients could only know the sender is “noreturn@test.com”. Furthermore, the sendas users can be a list of any addresses such as “abc@def.com” (I know this is a kind of spoofing, but I am discussing technical problem here :D)

    I installed kopano 10.0.6 on a new server and imported the old settings in Zarafa. However, the “send-as” feature did not work anymore. If I added “always_send_delegates = yes” to the spooler.cfg, I could send mails WITH the “usera@test.com on behalf of noreturn@test.com” wording. But the mails were rejected by Kopano if I disabled this parameter with the following logs captured:

    kopano-spooler: HRESULT SMTPToZarafa(IAddrBook*, const SBinary&, SBinary*): ResolveName failed: not found (8004010f)
    kopano-spooler: Unable to find account name for representing user: not found (8004010f)
    kopano-spooler: HRESULT SMTPToZarafa(IAddrBook*, const SBinary&, SBinary*): ResolveName failed: not found (8004010f)
    kopano-spooler: HRESULT CheckSendAs(IAddrBook*, IMsgStore*, IMAPISession*, KC::ECSender*, const SBinary&, SBinary, bool*, IMsgStore**): PR_DISPLAY_TYPE missing: not found (8004010f)
    kopano-spooler: E-mail for user usera may not be sent, notifying user
    

    I looked to the manual of the kopano and it specified that administrator can add the “sendas” user with CLI “kopano-admin”. However the command was rejected with the following error:

    kopano-admin -u usera --add-sendas noreturn@test.com
    Unable to update user, sendas user not available: "noreturn@test.com" not found
    

    How can I restore the “send-as” function in Kopano?


  • Hi.
    the send as user have to be exist in db in new version of kopano. Take a look in this post send as delegation…