Mail::...Fields(3pm)

πŸ’– Mail::...Fields β€” the manual, but make it cute πŸ’–

okay bestie, so this page is Mail::...Fields(3pm) from the User Contributed Perl Documentation section of the manual. It's really called Mail::MtPolicyd::Plugin::ClearFields, and no cap, that name is giving long, but it does exactly what it says on the tin. Sit down, grab a boba, we're doing this. πŸ§‹βœ¨


🌸 NAME 🌸

Mail::MtPolicyd::Plugin::ClearFields β€” an mtpolicyd plugin whose whole entire job is unsetting session variables. that's it. that's the girl. πŸ’…


⭐ VERSION ⭐

version 2.05 β€” current, fresh, hydrated. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

So like… you know how sessions accumulate variables and sometimes you just need to let them go? This plugin is the friend who helps you clear out the group chat. It can be used to reset some session variables. Reset. Clear. Unset. Start fresh. Main character energy fr fr. ✨


πŸŽ€ PARAMETERS πŸŽ€

  • fields (default: empty) β€” a comma separated list of session variables you want to unset. bye bye πŸ‘‹
  • fields_prefix (default: empty) β€” a comma separated list of prefixes. Every session variable that starts with one of these prefixes gets unset too. It's giving block party, everyone whose name starts with that gets evicted 😭

πŸ”₯ EXAMPLE πŸ”₯

first one, she's precise:

<Plugin cleanup>
  module = "ClearFields"
  fields = "spamhaus-rbl,spamhaus-dbl"
</Plugin>

this will remove both fields from the session. clean. iconic. obsessed. πŸ’–

and now the chaos version, the one with range:

<Plugin cleanup>
  module = "ClearFields"
  fields_prefix = "spamhaus-"
</Plugin>

this will also remove both fields β€” and everything else starting with "spamhaus-" from the session. it said if your name starts with spamhaus- you are NOT coming to the function πŸ’€ periodt.


πŸ‘‘ AUTHOR πŸ‘‘

Markus Benning <ich@markusbenning.de> β€” the legend, the blueprint, the moment. πŸ™Œ


This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.

This is free software, licensed under:

The GNU General Public License, Version 2, June 1991

so go forth, use it, share it, respect the GPLv2 vibe. 🫢


and that's the whole page bestie, you ate. this one's perl v5.38.2, dated 2024-05-26, straight from Mail::...Fields(3pm) β€” ty for coming to my ted talk, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from