SPAMALYZE(1p)

πŸ“¦
version 0.5 Β· 2 versions
  • 0.5 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.5 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ SPAMALYZE ✨

okay bestie, so this is spamalyze β€” a Perl script from the User Contributed Perl Documentation section of the manual (that's the 1p vibe, iykyk). It's giving "let me drag your entire mbox through a pile of Realtime Blackhole Lists and tell you who's sus." πŸ’…


πŸŽ€ NAME πŸŽ€

spamalyze β€” Apply multiple Realtime Blackhole Lists to all messages in an mbox


πŸ¦‹ SYNOPSIS πŸ¦‹

spamalyze myspam.mbox

spamalyze goodstuff.mbox

tail -3000 some.mbox | spamalzse
yes, that last one literally says spamalzse. That's not me, that's the manual. Copy-paste it exactly like that and do not come for me. 😭

🌸 DESCRIPTION 🌸

So here's the tea, bestie. Spamalyze reads in an mbox file that's holding a whole bunch of mail messages, and then it looks up the originating server of each message against multiple Realtime Blackhole Lists. Under the hood it's using Net::RBLClient β€” iconic library behavior, no cap. πŸ‘‘

What's the point? It lets you find out what the impact would be of filtering via various RBL's. Like, vibe check first, filter later.

The output report has two sections, and they are both important, so let's get into it.

Section one gives you one line per email message, showing:

  • Sending IP address
  • Sending hostname if any
  • Whether the IP is on a small list of possibly spammish netblocks
  • A list of letters representing RBL's which returned responses for this IP address

Section two contains one line for each of the top RBL's. And what counts as a top RBL? The ones that produced the most hits, obviously. They're listed in decreasing order of hits. Each line contains:

  • The letter assigned to the RBL β€” and heads up, "A" is the one with the most hits πŸ‘‘
  • The domain name of the RBL
  • The number of hits from the RBL

πŸ’– OPTIONS πŸ’–

  • No options.

like... none. zero. the void. it just takes your mbox and goes. 🫢


πŸ”₯ SEE ALSO πŸ”₯


🌈 AUTHOR 🌈

Asher Blum <asher@wildspark.com>


Copyright (C) 2004 Asher Blum. All rights reserved. This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


⚠️ okay this part matters so listen up: that copyright line is doing legal work. Free software, redistribute and/or modify it, same terms as Perl itself. Keep it, respect it, don't be weird about it. periodt. πŸ’…

and that's the whole page, bestie!! πŸ“πŸ§š this one came from perl v5.34.0 and got stamped 2022-06-30, so go forth and spamalyze responsibly, mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from