Open Bug 1677368 Opened 4 years ago Updated 2 years ago

Fine tune "Catch All" star management to detect yahoo disposable addresses

Categories

(Thunderbird :: Account Manager, enhancement)

enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: fabstz-it, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

With the "catch all" feature (implemented in bug 1518025), it is possible to define a pattern for the email address by using the star '*'. Right now it can be used only for domain filtering ( *@domain.tld ).

However the disposable address (DA) feature of yahoo has this format "FixedPrefix-VariableSuffix@yahoo.com". FixedPrefix is the same for all DA of the yahoo account, while VariableSuffix is different for each address. So I would like to put "myPrefix-*@yahoo.com" in the field. This isn't supported for now.

A use case where this can be useful is when there are other yahoo addresses in the "To:" field but my DA is not in it (it is only in the X-Apparently-To field).

Right now I can only put "*@yahoo.com" in the CatchAll field. This would take the ForeignPrefix-suffix1@yahoo.com email for my reply, while I actually would like to use myPrefix-mail@yahoo.com.

Steps to reproduce

  1. Set this header X-Apparently-To into the pref: mail.compose.catchAllHeaders
  2. In the catchAll checkbox field (in the identity config) set *@yahoo.com, myPrefix-*@yahoo.com
  3. Add this email to your tb:

Imagine this email having:

To: ForeignPrefix-suffix1@yahoo.com
X-Apparently-To: myPrefix-mail@yahoo.com

From - Sat Nov 14 20:26:35 2020
X-Apparently-To: myPrefix-mail@yahoo.com; Sat, 14 Nov 2020 19:26:30 +0000
From: test <test@doamin.com>
Subject: test
Message-ID: <4a33532d-03ab-41de-bbc6-99116c7a2d4e@abc>
Date: Sat, 14 Nov 2020 20:26:07 +0100
MIME-Version: 1.0
To: ForeignPrefix-suffix1@yahoo.com
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
References: <4a33532d-03ab-41de-bbc6-99116c7a2d4e@abc>
Content-Length: 0
  1. Reply to it, it will use "ForeignPrefix-suffix1@yahoo.com" as sender

Expected behaviour:
I would have liked it to use "myPrefix-mail@yahoo.com" (since ForeignPrefix is not mine)

I think this would be a great feature to have, which is not limited to yahoo.
The proposed pattern setting would also allow for the more "standard" separator "+", for example gmail supports "user+whatever@gmail.com", which could be defined as "user+*@gmail.com".

See Also: → 1679103
See Also: → 1679100

I had some interest in this too, however upon close inspection, Protonmail sets the “Delivered-To” header to the canonical address, as recommended in experimental RFC 9228 (https://www.rfc-editor.org/rfc/rfc9228.html#section-5-3.3). This header can be added to the comma-separated list of headers mail.compose.catchAllHeaders (in the config editor). I’ve checked and gmail does not set this header ; I don’t have the ability to check for other providers.

You need to log in before you can comment on or make changes to this bug.