I am trying to create a filter within Proton Mail, that adds a label ‘mailing list’ whenever Proton marks an email as from a mailing list.

It doesn’t seem so easily possible as far as i can tell and I don’t have the time (or will at the moment) to try and create it with a Sieve filter.

Is there an easy way to do this?

@Nelizea@lemmy.world
mod
link
fedilink
English
310M

Often such emails have a “List-Unsubscribe” header entry, thus you could check on that.

if allof(
    exists "List-Unsubscribe"
) { 
    fileinto "mailing list";
}
R...
creator
link
fedilink
English
210M

This worked as expected! Thank you very much!

@Nelizea@lemmy.world
mod
link
fedilink
English
110M

You are welcome!

Create a post

Empowering you to choose a better internet where privacy is the default. Protect yourself online with Proton Mail, Proton VPN, Proton Calendar, Proton Drive. Proton Pass and SimpleLogin.

Proton Mail is the world’s largest secure email provider. Swiss, end-to-end encrypted, private, and free.

Proton VPN is the world’s only open-source, publicly audited, unlimited and free VPN. Swiss-based, no-ads, and no-logs.

Proton Calendar is the world’s first end-to-end encrypted calendar that allows you to keep your life private.

Proton Drive is a free end-to-end encrypted cloud storage that allows you to securely backup and share your files. It’s open source, publicly audited, and Swiss-based.

Proton Pass Proton Pass is a free and open-source password manager which brings a higher level of security with rigorous end-to-end encryption of all data (including usernames, URLs, notes, and more) and email alias support.

SimpleLogin lets you send and receive emails anonymously via easily-generated unique email aliases.

  • 1 user online
  • 1 user / day
  • 50 users / week
  • 101 users / month
  • 631 users / 6 months
  • 1 subscriber
  • 368 Posts
  • 3.39K Comments
  • Modlog