thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/mobile
Apache License 2.0
11.01k stars 2.51k forks source link

Show by envelope-from #4247

Closed mimi89999 closed 4 years ago

mimi89999 commented 5 years ago

Expected behavior

K-9 Mail should show: from bob@example.com by eve@evil.com when the address in the envelope-from header is different form the address in the from header the same way it does when a sender header is present.

Actual behavior

Only the from header is shown in sender address.

Steps to reproduce

  1. Send an SMTP message with different MAIL FROM and from addresses.
  2. Have it saved by Postfix as:
    Received: from myserver.com
        by myserver with LMTP
        id some_id
        (envelope-from <eve@evil.com>)
        for <me@myserver.com>; Mon, 11 Nov 2019 21:11:53 +0100
    From: Bob <bob@example.com>
  3. Open the email in K-9

Environment

K-9 Mail version: 5.600

Android version: 9

Account type (IMAP, POP3, WebDAV/Exchange): IMAP

cketti commented 4 years ago

Do you know any other email clients that do this? I'm not keen on parsing Received headers.

I imagine this will also be very annoying if you forward all emails sent to a particular address to another address.

mimi89999 commented 4 years ago

Do you know any other email clients that do this?

I don't. I wonder why they haven't decided to implement that.

I imagine this will also be very annoying if you forward all emails sent to a particular address to another address.

I think that the benefit for all users will be much greater than the annoyance of having one nonsense line for that particular group and it should be possible to disable that feature.

cketti commented 4 years ago

That doesn't convince me. There are a lot more important issues that require attention. Closing this issue because I don't see us even just looking into this anytime soon.