Mail::...iteral(3pm)

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

πŸ’… Mail::Milter::Module::HeloRawLiteral β€” yes that's the whole vibe

okay bestie, so this little page you're reading is Mail::...iteral(3pm) from the User Contributed Perl Documentation corner of the world (the name got cut off mid-glow-up, tragic, but we move). Underneath the truncation it's the manpage for Mail::Milter::Module::HeloRawLiteral, and ngl it's a tiny little icon doing one very specific job. Let's get into it. πŸŽ€


✨ NAME ✨

Mail::Milter::Module::HeloRawLiteral β€” it's a milter that checks for an IP literal without brackets in HELO. That's it. That's the whole personality. One job, done flawlessly. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

the group chat version of "how do I even use this":

use Mail::Milter::Module::HeloRawLiteral;

my $milter = new Mail::Milter::Module::HeloRawLiteral();

my $milter2 = &HeloRawLiteral; # convenience

so yeah β€” you use it, you new it up, and if you're feeling lazy (affectionate) there's a &HeloRawLiteral shortcut that does the same thing with way less typing. convenience queen behavior fr fr. πŸ‘‘


🌸 DESCRIPTION 🌸

okay so here's the tea. RFC2821:4.1.3 says you are allowed to use a raw IP address in HELO… but only if it's wrapped in [square brackets]. that's the rule, that's the law, that's the assignment.

and the way spam engines just… forget the brackets? not them being sloppy with the dress code 😭 so this milter's entire main character arc is catching exactly that. raw IP in HELO, no brackets? caught. slay. ✨


πŸ’– AUTHOR πŸ’–

Todd Vierling, <tv@duh.org> <tv@pobox.com> β€” shoutout to the icon who wrote this, we love a legend. 🫢


🌈 SEE ALSO 🌈

  • Mail::Milter::Object β€” go look at this one too bestie, it's the whole family tree. πŸ‘‘

πŸ’€ tiny module, zero drama, one very specific rule enforced with love.

and that's the page!! brought to you by perl v5.36.0, dated 2023-01-22, from the User Contributed Perl Documentation collection β€” mwah, thanks for reading, ily, go bracket your IP literals. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from