Author Topic: Weird behavior: how "From" is shown for an identity  (Read 4789 times)

StR

  • Hero Member
  • *****
  • Posts: 1558
Weird behavior: how "From" is shown for an identity
« on: March 12, 2017, 06:08:05 am »

After many years of using Aquamail (and identities in it), I've discovered that the way Aquamail shows "From" in my own message is rather weird.

I have an Aquamail account that is called "user@domain.com" (and the main address behind it is user@domain.com). I have multiple identities configured in Aquamail under that account. One of them is club@domain2.com, named "Club". I am looking into the folder (Not the "Sent" folder) with the mail sent from that identity (by another mail client, alpine). When I am looking at the message list, the message is correctly listed as being sent from club@domain2.com. When I am looking at the message itself (message view), "From" appears as "user@domain.com / Club"

When I saw that, for a moment I was frightened that I made a mistake sending the message using a wrong address, and now the recipient has my "user@domain.com" address available.

Now, if it is sent from the same account, exactly the same way, but from the third "identity", say other@domain3.com, which is not configure in Aquamail as an identity or account, then Aquamail shows the message as being from "other@domain3.com".
So, it looks like it is "a feature" of Aquamail, where it replaces "From" address with "Account Name / Identity Name".
The question is "why?". Actually there are two questions "why?":
1. Why does not Aquamail show the actual "From" address in the message?
2. Why Aquamail shows different "From" in the message list and message view?
And finally, and more importantly:
3. Is there an option to disable this (rather weird) substitution of the e-mail address with "account name/identity name" in the message view?


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Weird behavior: how "From" is shown for an identity
« Reply #1 on: March 12, 2017, 01:38:22 pm »
Quote
The question is "why?". Actually there are two questions "why?":
1. Why does not Aquamail show the actual "From" address in the message?
2. Why Aquamail shows different "From" in the message list and message view?

Because that's how certain users wanted it -- "this message is from account X, identity Y".

Maybe it could list the actual email of the identity too, if it's different from the account's (sometimes it is the same).

Quote
2. Why Aquamail shows different "From" in the message list and message view?

I don't have a good explanation for this one, other than "message list is message list and message view is message view, different display and formatting code".

Quote
3. Is there an option to disable this (rather weird) substitution of the e-mail address with "account name/identity name" in the message view?

I can't find one,  but the logic is that the code uses alias name if it has one (I assume yours does), and if not, next checks if the alias' email is same as the accounts (then uses the alias's human user name) and finally uses the alias' email.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

nica

  • Guest
Re: Weird behavior: how "From" is shown for an identity
« Reply #2 on: March 12, 2017, 04:53:21 pm »
Hi, from my point of view it will look better and will not confusing, if I do not name an account as an email address (which is not the same as you know of course).

If I call the account "My funny main account", it makes sense to see in "From" the account name and the identity.

Bottom line: I like the way as it is now.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Weird behavior: how "From" is shown for an identity
« Reply #3 on: March 12, 2017, 06:05:39 pm »
Correction: it's the alias's "name" not the account's and this name is assigned by the user.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Weird behavior: how "From" is shown for an identity
« Reply #4 on: June 13, 2017, 03:12:18 am »
Thanks for all the responses.
My main point is that I want my e-mail client to be very transparent about "From" (as well as To:, Cc:, Date ...) I don't want any masquerading.   For that, I've disabled "Abbreviated recipients" under Settings -> Message view. Why the sender (myself) remains abbreviated with that, it beats me.
While masquerading may work for some users, it is bad for others, who are more technical. (Also, in general, it can be bad for security reasons.{*})
So, besides being inconvenient (and surprising) to some users, it is also inconsistent in the intent. (Yes, I know, that option is for the recipients, while I am talking about the sender, but I am talking about the intent of behavior here.)


Besides (but this is really a secondary point), - Aquamail is inconsistent in how it shows the sender.
As in the example above, - for the messages sent from the "main" identity (i.e. the account itself), - it shows "From: User Name <user@domain.com>", not "From: [Account name]". (which is good!!!)
But, as described above, for additional identities, it is: "From: [Account name]/[Identity name]".

{*} E.g. the trend of programs (primarily under Windows) to hide file extensions yielded many exploits.

So, Kostya, would you please, kindly consider some way of making it possible to display the actual e-mail address in the header.

This post was sitting on my screen for 3 months.
Now, as you've added an option to make even more substitutions for addresses (from the contacts), -- all embellishments, maybe you can also satisfy the need for a "pure" display, of what is actually in the message?
Thank you!


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Weird behavior: how "From" is shown for an identity
« Reply #5 on: June 13, 2017, 08:49:31 pm »
Re: what is actually in the message

By this token, should we also quit decoding base-64, quoted-printable, and Q/B?

After all, that's what "is actually in the message"?

:)

And then you could enjoy things like:

Subject: =?UTF-8?B?UmU6IFJlWzJdOiDQp9C40YHQu9C+INC90LAg0LjQutC+0L3QutC1?=

?

---

Sorry - we have a feature to "name" aliases, and it seems useful to "help" the user see that an alias is being used.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Weird behavior: how "From" is shown for an identity
« Reply #6 on: June 13, 2017, 10:34:01 pm »
Re: what is actually in the message

By this token, should we also quit decoding base-64, quoted-printable, and Q/B?

After all, that's what "is actually in the message"?

:)

And then you could enjoy things like:

Subject: =?UTF-8?B?UmU6IFJlWzJdOiDQp9C40YHQu9C+INC90LAg0LjQutC+0L3QutC1?=

Bzzz!
Sorry, this is a straw man fallacy - "подмена тезиса".

Subject and body text can be encoded and, if so, need to be decoded for reading. Decoding is presenting the same information in a readable format.

"From:" is not encoded, it is human-readable, and it is intended to be human-readable. What you do is the obfuscation (replacement) of the existing information with the information that was not in the original message. It might be convenient for some users {*} - let it be , but it should not completely disable the ability to see the actual content.
After all, after you've created replacement of addresses with the information from Contacts, you still allowed seeing the original field content. (Thank you for being wise there!) How is it different here? -- It is not, it's the same.

-------------
{*} Presumed convenience can lead to dangers: MS argued that hiding file extension is helping to avoid users' confusion, but it opened a can of warms for social engineering with viruses.

PS. Kostya, when you are holding to whatever opinion/decision you have/made, I can understand and respect that, even if I am not happy about it. But when you are using logical fallacies to support that (with or without a smiley), that's a bit insulting.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Weird behavior: how "From" is shown for an identity
« Reply #7 on: June 15, 2017, 08:44:54 pm »
Re: "From:" is not encoded, it is human-readable, and it is intended to be human-readable.

From: =?UTF-8?B?0JrQvtC80LDQvdC00LAgTWFpbC5SdQ==?= <noreply@corp.mail.ru>

Not encoded?

---

Re: "straw man" and all that

I'm no good at Internet "word battles" - but you wrote something about "showing data as is".

---

To summarize (one more time) - personally I believe this is a useful feature, not a bug.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/