MOD2HTML(1)

πŸ“¦
version 6.2.70 Β· 4 versions
, in ubuntu noble

πŸ’– MOD2HTML(1) πŸ’–

okay bestie, welcome to the mod2html page from the sympa 6.2.70 manual β€” yes, the sympa manual, that's the vibe, we're in it πŸ’…


✨ NAME ✨

mod2html, mod2html.pl β€” literally generates the HTML view of messages that are waiting to be moderated 🫢


✨ SYNOPSIS ✨

mod2html.pl

that's it. that's the whole invocation. no args, no flags, just send it 🌸


✨ DESCRIPTION ✨

so here's the lore πŸ“œ back in the day β€” like, until Sympa release 3.4.3.1 β€” the HTML view of moderated messages was made by wwsympa.fcgi, whenever it was needed. very "someone else will handle it" energy πŸ™ˆ

now it's made by the sympa_msg.pl daemon, right when the message gets received. glow-up fr fr ✨

and this script? this script will create all the missing HTML files. all of them. every single one that's not there yet. it's giving completionist πŸ’…


✨ CONFIGURATION PARAMETERS ✨

these are the site configuration parameters in /etc/sympa/sympa/sympa.conf that it's gonna look at, bestie:

  • mhonarc β€” the path to the MHonArc mail-to-HTML converter.
  • queuemod β€” the directory for the moderation spool.
  • viewmail_dir β€” the directory holding the HTML file that MHonArc generates when it's displaying messages that aren't archives.
lowkey important: it refers to these, so if your config is a mess, this script is gonna have a bad time 😭

✨ HISTORY ✨

  • mod2html.pl first appeared on Sympa 3.4.4. iconic debut, no notes πŸ‘‘
  • 6.2a.32 or earlier: the HTML view got stored into the moderation spool.
  • 6.2b: nope, we moved on β€” now it lives in a dedicated directory, and that directory is specified by the viewmail_dir parameter. character development πŸ¦‹


and that's the whole page, bestie!! this was the sympa 6.2.70 manual, dated 2026-07-13 β€” thanks for reading, ily, go touch some grass πŸŒ±πŸ’œ

πŸ“¦ where this page comes from