cross-posted from: https://lemmy.sdf.org/post/46161145

I’ve been using Thunderbird to sort out my junk email for a while, ever since I walked away from my Gmail account. Thunderbird does a great job, but it does mean it has to stay running somewhere.

However I’m currently in the process of moving and as a result I’ve had to shut down the system that that I had been running Thunderbird on. The result of which, obviously, is that my inbox is now being flooded with spam.

Since it’s been a while since I last looked at the problem, I figured I ask. How do you deal with spam email?

  • Suzune@ani.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    First layer is done by Postscreen (by Postfix). It watches bots misbehaving, check blackhole DNS and disconnects them. Fail2ban takes care of bots who cause errors and warnings in logs and bans them. Third layer is SPF and DKIM. If it does not match, it’s getting flagged.

    If someone conforms to protocols and passes the tests, there is still rspamd on the fourth layer. It does zillions of checks on the metadata and additionally learns via bayes. Dovecot moves all the crap to Junk and inserts the valid mails into their proper folders.

    The fifth layer is me. If some junk mail arrives in the inbox, I move it to Junk manually and Dovecot tells rspamd to learn it as spam.

  • dieTasse@feddit.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 day ago

    Well… Been using Proton since 2020 and ever since that I don’t have spam issues. I am also using aliases, so if somebody sends me way too many newsletters I just disable the alias. This probably won’t help you, but you asked 😀

  • foggy@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    I recently looked at my emails spam filters and my goodness. I’ve built a monstrosity over a few decades here.

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      23 hours ago

      LMAO! I would speculate that conservatively 90% of all my mail is spam that gets either rejected or dropped in the trash bin.

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    As @eksb@programming.dev said, SpamAssasin and diligent training. Also, pFsense will filter based on rules and criteria in conjunction with Suricata or Snort.

  • blackbrook@mander.xyz
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    I use POPFile, open source software that classifies email into whatever categories you set up using a Bayesian algorithm (so you train it). It works as a proxy so it does it when your download email, so not a solution to your inbox filling up unless your can figure out how to run it on the server automatically.

    It tags the email with a header and I use Thunderbird filters to move mail to folders for spam, adverts, political spam, and regular inbox.

    It’s abandonware but it still works and doesn’t really need any more features IMO.

  • erebion@news.erebion.eu
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    My mailserver runs on Stalwart. Whatever it does works for me. I haven’t yet had to change the defaults. It’s also very easy to set up and requires next to no maintenance.

    (It also does JMAP, which is like IMAP, but modern and efficient)

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Unfortunately JMAP isn’t supported (yet) by a lot of email clients. I don’t think there’s a good open-source email suite for computers available… But I’ve tried Stalwart as well and it’s really sleek and seems to come with good defaults.

  • gedaliyah@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 day ago

    There are some tweaks you can usually do on the server/host side as well. That’s particularly helpful if you use Thunderbird on multiple devices, such as desktop and phone.

    Hopefully it will be even easier over time to sync settings between devices — I’d love to see filters and signatures across devices one day.