Mail::...gusNull(3pm)

πŸ“¦
version 0.07 Β· 2 versions
, in debian bookworm, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’Œ Mail::...gusNull(3pm) β€” aka Mail::Milter::Module::MailBogusNull

okay bestie, gather round, because this is a Perl milter module and it is so much less scary than the name makes it look πŸ’– the manual name on this one is Mail::...gusNull(3pm), and the actual star of the show is Mail::Milter::Module::MailBogusNull. yes the package name is a whole paragraph. we cope. 🫢


✨ NAME ✨

Mail::Milter::Module::MailBogusNull β€” a milter that rejects null-sender mail that's trying to slide into multiple recipients' DMs πŸ’…


🌸 SYNOPSIS 🌸

use Mail::Milter::Module::MailBogusNull;

my $milter = new Mail::Milter::Module::MailBogusNull;

my $milter2 = &MailBogusNull; # convenience

$milter2->set_message('Null sender mail should go to only one recipient');

see how short that is?? iconic. no cap, that's the whole setup. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie πŸ“ this milter module rejects any mail that comes from a "null sender" β€” that's the empty <> address, the little nothing-address β€” when it tries to deliver to multiple recipients.

and why is that a problem, you ask? because normal delivery status notifications are meant for a single message, which means they should only ever be addressed to a single recipient. one. uno. singular. the way that a bounce notification is out here cc'ing the whole group chat is exactly the vibe this module is here to shut down. πŸ”₯

so if the null sender shows up with a whole list of recipients, this thing says no. periodt.


πŸ‘‘ METHODS πŸ‘‘

πŸ’œ new()

creates a MailBogusNull object. and here's the lowkey beautiful part β€” there are no arguments to configure this module, because it is a fixed check. no knobs, no dials, no little config gremlins. it does the one thing and it does it flawlessly. main character energy fr fr. ✨

πŸŽ€ set_message(MESSAGE)

sets the message used when rejecting messages. that's the string that goes out when this module has to break the bad news to somebody πŸ’Œ

and listen β€” this method returns a reference to the object itself, which means you can chain the call. it's giving "yes and". it's giving fluent interface. it's giving slay. 🫢


⭐ AUTHOR ⭐

Todd Vierling, <tv@duh.org> <tv@pobox.com> β€” the legend, the moment, the whole entire icon πŸ‘‘


🌈 SEE ALSO 🌈

  • Mail::Milter::Object

πŸ’€ POD ERRORS πŸ’€

okay so not me having to tell you this, but: hey! the above document had some coding errors, which are explained below. yes, the document itself fumbled. it happens to the best of us. πŸ™ˆ

  • Around line 73:
    • You can't have =items (as at line 85) unless the first thing after the =over is an =item

so basically the POD formatter said "bestie, you can't have =items (as at line 85) unless the first thing after the =over is an =item" and honestly? valid. rules are rules. 😭


and that's the whole page!! source/version on this one is perl v5.36.0, dated 2023-01-22, filed under Mail::...gusNull(3pm) β€” thanks for reading bestie, go reject some bogus null-sender mail, ily, bye πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from