Hi all,
my carbonio server adds the strange mark for all ougoing mails.
For example, the mail address is user@example.com but the received email has the next field - From: DEFAULT <user@example.com>.
Where is the "DEFAULT" value added and how can I fix it?
It is applicable for Carbonio 24.9.0 and 24.9.1.
Thanks for any help,
Nik
Set the display name of an user with following command:
For new user:
root@mail:~# su - zextras -c "carbonio prov ca test1@$(hostname -d) 123456 displayName Test1" 5efb29f3-256e-4103-99ae-db10cb3aa6d0
For existing user:
root@mail:~# su - zextras -c "carbonio prov ma test1@$(hostname -d) displayName 'New Test1'"
So basically, what you have to do is set displayName from either cli or from Admin UI.
If you do not set display name during the creation of the account, this is the default behavior in carbonio.
Then send a test email from that user, and in recipient end the display name should be the one you set rather than the DEFAULT one.
Regards,
Sharif
Hi Sharif,
first of all, thank you so much for your reply.
The display names of all accounts were not empty, and were set when they were created.
I found the reason for this behavior.
If the display name is equal to the username, then the "DEFAULT" parameter is displayed in the envelope header.
I don't know if it's correct.
In my opinion, this "DEFAULT" parameter should not appear at all under any circumstances.
Best regards,
Nik
Hi,
displayName name is not equal to the userName. If I set the displayName of testuser@example.com as Test then the user email address should be displayed as:
"Test" <testuser@example.com>
But if I create the user without the displayName then it would be displayed as
"DEFAULT" <testuser@example.com>
Regards,
Sharif
Hi,
yes, if the displayName name is "user@example.com" and the userName is "user" then it is not not equal.
I was talking about another option.
In my case the displayName name was "user" and the userName was "user".
This is exactly what was meant in my last post.
All accounts have their own display name when they are created (displayName=userName).
Regards,
Nik
Hi,
Thanks for clarification.
I checked with different combinations and I think it is a bug.
I found following behavior:
Host OS: Ubuntu 22.04LTS
Carbonio CE Version: Carbonio Release 24.9.1
Current Behavior:
- For any userX (Who has displayName) name, sends an email to another userY then userX's displayName is not reflecting on the FROM address in a received email at userY'x inbox.
- This behavior is not affecting the default global admin user zextras (displayName - Carbonio Admin)
- For any user (Who has displayName) in To/Cc or BCC, displayName shows properly.
Steps to reproduce:
- Create two users with display names (i.e. userx & usery)
- send a test mail from userx to usery
- Check the displayNames in the receipt email in usery's inbox.
Let me if you want to add/correct anything, I am going to report it to our devs.
Regards,
Sharif
Hi,
I think all is correct to explain a bug.
To test this, I did the experiment again today.
I've done the next:
- created two test users: userx and usery
- assigned them the same displayNames accordingly: userx and usery
- sent an email from userx to usery
- recieved this email in usery's inbox
- this email had the "From: DEFAULT <userx@mydomain.domain>" field in the envelope header
- chainged the displayName of userx from userx into userx1
- sent the email from userx to usery again
- the second received one had the "From: userx1 <userx@mydomain.domain>" in the envelope header
Regards,
Nik
Thanks a lot for your time and feedback.😊
I have noted the additional info from your reply. I am going to forward them to our devs.
Thanks again.
Regards,
Sharif
Thanks for your work too.
I think we will make Carbonio better 🙂
If you don't mind, I'll prepare some more posts about carbonio bugs.
Good luck,
Nik