-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
whitelist to show images directly #201
Comments
+1 |
Any plans for this feature? It would be such a nice thing to have for WAF (wife acceptance factor) |
Yes, but on low priority. Also, what should be whitelisted?
|
Just wondering, (answering your question above @the-djmaze ) but why wouldn't the from email address be what is whitelisted? If you trust the sender, then show whats in the email (like the button was clicked to do so). |
And what if the from is And what if the from is Whitelists are never easy... |
I would go one level higher than the domain and whitelist the actual 'from address' Don't get hung up on edge cases. I would put the responsibility for smart use (not whitelisting common from: email addresses like Most use cases are going to be things like I think a simple 'from email address' match is all that is really needed here, no need to over complicate it. It's an advanced option for advanced use. |
Ah you mean the full email address. And should it have options like:
|
If a UI element was added to approve for external images in the future...you could capture the header combination present in the sampled email. So if the user presses the UI element (button) to whitelist...capture the sampled emails The UI element could be a toggle. So that if a user wants to remove the exception, another click to toggle off would remove the corrisponding |
FairEmail does as follow when we ask to show images: I found that convenient. I like your idea to tie it to SPF/DKIM. Though a simple implementation (with warnings, and not applied to mails flagged as spam or inside the spam folder) would do fine, as it is supposed to be exceptional as pointed out by HeyVern. That should be secure enough (otherwise people should probably not even be using a web browser :) ) Regards, |
I agree with @yeupou that an implementation "a-la-FairEmail" (but Thunderbird or Roundcube do the same as well) would be super good. This linked with the address book makes it super simple to manage. Rgds, |
That is not possible for many buggy reasons. |
Added the whitelist setting.
So you can make a whitelist as:
Where first only matches FROM and second both (FROM and URL). From here we could finetune more options when needed. |
@the-djmaze Initial post: Fantastic! Thank you. Update: If I switch to "whitelist or ask" and place ANY value in the box, it appears to load all images regardless of match. Meaning if the textbox has ANY value at all. I tried even typing just the word 'test' and it globally whitelists all emails after that. |
Found the regex bug and fixed it. |
@the-djmaze |
@HeyVern thanks a lot! |
Works like a charm, thank you very much ! One more question, would it be possible to add a button "add to whitelist" next to the sender email address? This way the update of the whitelist would even be easier. |
@thefrip nice idea. Issue: if setting is "always ask" it should not show this option or switch to the whitelist? |
Yes, in my opionion.
Not show the option. |
@the-djmaze thanks for the update! The RegEx issue does seem to be fixed. Just a heads up, if using 'whitelist or ask' the 'ask' part doesn't seem to be working. If an email is not on the whitelist the UI element for manually showing the images seems to be gone. |
I noticed, also with mixed content where it did show image of domain.com but not from remoteimage.com |
Indeed I noticed the same, no more UI element to show the images. Sent from my mobile deviceLe 4 févr. 2023 à 15:52, the-djmaze ***@***.***> a écrit :
UI element for manually showing the images seems to be gone.
I noticed, also with mixed content where it did show image of domain.com but not from remoteimage.com
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@the-djmaze Honestly, despite the explanation quoted above, it's still unclear to me how it should be formatted.
I'm assuming that the delimiter is a new line, unlike the domain user's whitelist (which uses spaces, so this inconsistency should be closed by harmonizing the delimiter in any given whitelist). Which assumptions above are correct or incorrect? |
It can be: |
Ok, thanks for clarifying that. It does indeed need some description in the settings to convey this information, along with the accepted format, the prefixes and the filtering rule in general (from address, image url). As for the image url, it's still unclear to me how the regex captures the whitelisted domain. Does |
It's not strict. It even allows things like |
So, as it stands, would it be possible to enforce a base domain with something like |
yes, that is possible |
@the-djmaze 2.25.4 whitelist is working for me. 👍 |
Indeed this is the idea: not a menu, icon shortcuts as there is already space for that and more convenient than a menu (one click action instead of two).
6 février 2023 à 21:53 "Mathieu Roy" ***@***.***> a écrit:
…
This whitelist is very cool. It would be even better direct shortcuts where there is free room:
as in
it does not need to be a menu, but something like [icon : add sender to whitelist] [icon : add domain to whitelist]
(thunderbird also propose to add URLs but it gets hairy)
—
Reply to this email directly, view it on GitHub #201 (comment) , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUSPT2QSHOQAOJ2TWJFUHTWWFQFPANCNFSM5NDJLU5Q .
You are receiving this because you were mentioned.
|
Hum, I was thinking of only one button to keep it simple, something like "Allow images from this sender" which would push the sender email address to the whitelist. For other cases (like per domain, etc.), user could manually update the whilelist. Otherwise the button list might grow too much. Or then we could go for the menu option. What do you think? |
The menu option would be the best approach. |
Fair enough, this might be the way indeed. At the very least the menu approach shows all what would be whitelisted (this may need a bit of an explanation though as otherwise people may get confused when they see the list, what do you think?). End of the day it is only one more click :-) |
Looks very good. And since it is whitelisting, we can expect this one extra click not to happen too often as soon as the whitelist is filled. |
Should email address be the first or last? |
Thumbs up for first, thumbs down for last. |
* sort options based on domain count (highest top) * hide when whitelist not active
I would say first |
I just upgraded to the new version (using it through nextcloud, so a bit of a delay), it is awesome. Only think I would suggest in terms of usability would be to add some space between the two buttons ("show images" and "whitelist") as on my screen they are stuck together, almost as if it were only one button. |
Some mail clients allow to whitelist, on the fly, senders domains or senders addresses to show images directly, without requiring extra click.
The text was updated successfully, but these errors were encountered: