Mail::...n::Eval(3pm)
β¨ Mail::MtPolicyd::Plugin::Eval β the vibe π
okay bestie, welcome to Mail::MtPolicyd::Plugin::Eval, a lil mtpolicyd plugin that's literally just here to capture the output of plugins π«Ά this is the User Contributed Perl Documentation version, and she's serving version 2.05 β¨
πΈ DESCRIPTION πΈ
so here's the tea, bestie π this plugin runs a whole list of plugins you configured, right? but the plot twist is it does not return the action back to mtpolicyd. nope! instead it takes the output of all those plugins and writes it to a variable inside the session. it's giving backstage pass, not main character β the work gets done, the result gets stashed, and mtpolicyd is none the wiser ππ
π PARAMETERS π
store_in(required) β the name of the key in the session where the result of the eval'ed checks gets stored. no key, no storage, no slay πPlugin(required) β a list of checks to execute. yes babe, you need this one too, it's literally the whole point π¦
π EXAMPLE π
here's how it looks in the wild, bestie β copy it exactly, no improvising:
<Plugin eval-spf>
module = "Eval"
# store result in spf_action
store_in="spf_action"
<Plugin proxy-spf>
module = "Proxy"
host = "localhost:10023"
</Plugin>
</Plugin>
see how the inner <Plugin proxy-spf> does its lil proxy thing with module = "Proxy" and host = "localhost:10023", and the outer <Plugin eval-spf> with module = "Eval" just scoops the whole result into store_in="spf_action"? iconic behaviour honestly π
π AUTHOR π
Markus Benning <ich@markusbenning.de> β the legend, the moment, the whole entire vibe π«Ά
π COPYRIGHT AND LICENSE π
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
okay that's the whole page, bestie!! π this was perl v5.38.2, dated 2024-05-26, and it's the Mail::...n::Eval(3pm) manual page β go forth and eval responsibly, ily, bye!! πβ¨π¦
π¦ where this page comes from
- debian trixie: mtpolicyd 2.05-1.2 Β· GPL-2.0-only
- ubuntu questing: mtpolicyd 2.05-1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms