nodemailer / wildduck-webmail

Demo webmail service for WildDuck Mail Server
https://wildduck.email/
Other
144 stars 45 forks source link

Block external images #41

Open kornate opened 3 years ago

kornate commented 3 years ago

I'm not too familiar with node.

Is there an easy way to block external images/not allow remote content in messages?

To avoid trackers and such, for privacy purposes, as is quite common in most mail clients.

laurivosandi commented 10 months ago

Third option is to have mailserver cache the images with corresponding User-Agent string and serve images from the cache. The canonical way to solve this is to have them placed in S3 bucket and have webmail serve digitally signed URL to fetch the images from the S3 bucket. For self-hosted setups there is Minio

If it's not much to ask can you try to implement a PR for this?