Just a warning: For the learning curve and fun of it I am playing around and setup a server system with Samba4 AD, Kopano-Core, Sendmail & DAgent, WebApp on different servers. I finally got it to work (at least in parts ;-) Now I run into an issue I do not know whether it is a feature or a bug.
I have created a Kopano user “FIRSTNAME LASTNAME” via AD with a dedicated email address, the latter for example is "PUBLIC-EMAIL@t-online.de". The according kopano user has the username & email "USER_A@KOPANO-SERVER.COM" (“Alias” in picture 1). If I enter the internal email "USER_A@KOPANO-SERVER.COM" into WebApp as recipient, it is automatically converted to the contact detail of “FIRSTNAME LASTNAME”. And now the problem starts. During the conversion it seems to change the “internal” email "USER_A@KOPANO-SERVER.COM" to the “external” email "PUBLIC-EMAIL@t-online.de". Therefore my SMTP server cannot identify that the email was intended to be send as an internal email and sends the email to the external relay server. This somehow is bad, since I want some email not to leave the internal network. And now my question:
- is this the email change expected behaviour? Looks like at least to https://documentation.kopano.io/user_manual_webapp/mail.html?highlight=resolv#using-the-check-names-functionality
- Can I somehow prevent this in WebApp?
- Is there a workaround?
I am happy for any advise :-)