MFDBTOOL(1)

๐Ÿ“ฆ
version 9.1 ยท 5 versions
, in ubuntu resolute, ubuntu stonking

๐Ÿ’– MFDBTOOL(1) โ€” User Commands ๐Ÿ’–

okay bestie, welcome to the mfdbtool page, she's the Mailfromd database management tool and she's literally here to keep ur databases from going feral ๐Ÿฆ‹


โœจ SYNOPSIS โœจ

mfdbtool [OPTION...]

that's it, that's the whole vibe. options only, no positional args, we keep it clean ๐Ÿ’…


๐ŸŒธ DESCRIPTION ๐ŸŒธ

so mfdbtool is the Mailfromd database management tool โ€” it's giving maintenance-mode main character energy. it runs a bunch of commands on ur databases and also tweaks how the config gets loaded. let's break it down, babes ๐Ÿ‘‘

๐ŸŽ€ Database management commands ๐ŸŽ€

the actual Doing Stuffโ„ข part of the program. this is where the magic happens โœจ

  • --compact โ€” compact the database. squish it. make it smol but keep it functional ๐Ÿซถ
  • --delete โ€” delete given entries from the database. bye bye entries, we barely knew u ๐Ÿ’€
  • --expire โ€” delete expired entries from the database. expired stuff gets yeeted, no cap ๐ŸŒˆ
  • --list โ€” list given database (default cache). like a little show-and-tell for ur DB entries ๐Ÿ‘‘

๐Ÿฆ‹ Command modifiers ๐Ÿฆ‹

these lil cuties change how the commands above behave. mix and match, iykyk โœจ

  • --[no-]all โ€” with --compact or --expire: apply the operation to all available databases. not just one, ALL of them. full send ๐Ÿ”ฅ
  • -d, --debug=LEVEL โ€” set debugging level. crank it up when u need to see everything ๐Ÿ“
  • -f, --file=FILE โ€” DB file name to operate upon. tell her which file, bestie ๐Ÿ“
  • -H, --format=FORMAT โ€” format of the DB file to operate upon. gotta know the format ok ๐Ÿ’…
  • --[no-]ignore-failed-reads โ€” ignore failed reads while compacting the database. live ur truth, skip the oopsies ๐Ÿ™ˆ
  • --predict=RATE โ€” predict when the user will be able to send next message. she's psychic actually ๐Ÿ”ฎ

๐Ÿ’œ Configuration modifiers ๐Ÿ’œ

for when u need to reshape the config situation itself ๐ŸŒธ

  • -e, --expire-interval=NUMBER โ€” set database expiration interval to NUMBER seconds. numbers, but make them seconds โฑ๏ธ
  • --state-directory=DIR โ€” set new program state directory. relocate the state, new home new me ๐Ÿ 

โญ Global debugging settings โญ

the debugging options that aren't tied to one lil command ๐Ÿ’–

  • --debug-level=LEVEL โ€” set Mailutils debugging level. yes this is a different debug level than the one up there, they're different things, don't @ me ๐Ÿซถ
  • --[no-]debug-line-info โ€” show source info with debugging messages. like a little map of where everything came from ๐Ÿ—บ๏ธ

๐Ÿงš Configuration handling ๐Ÿงš

how the config files get found, parsed, and vibed with ๐ŸŒˆ

  • --config-file=FILE โ€” load this configuration file; implies --no-config. (yes, it quietly turns off the other config loading, that's just how she is ๐Ÿ’…)
  • --config-lint โ€” check configuration file syntax and exit. a vibe check for ur config โœจ
  • --config-verbose โ€” verbosely log parsing of the configuration files. narration mode: ON ๐ŸŽ™๏ธ
  • --no-site-config, --no-config โ€” do not load site-wide configuration file. skipping the site-wide one entirely ๐Ÿ™ˆ
  • --set=PARAM=VALUE โ€” set configuration parameter. name it, value it, done ๐Ÿ’–

๐Ÿ‘‘ Informational options ๐Ÿ‘‘

no changes, just facts. pure information delivery, she ate ๐Ÿ“š

  • --config-help โ€” show configuration file summary. the tl;dr of ur config ๐ŸŽ€
  • --show-config-options โ€” show compilation options. what was baked in at build time ๐Ÿ“
  • -?, --help โ€” give this help list. the classic ๐Ÿซถ
  • --usage โ€” give a short usage message. the speedrun version โšก
  • -V, --version โ€” print program version. gotta know what era we're in ๐Ÿ’…
โš ๏ธ real talk, bestie: Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so if the long one wants an arg, the short one wants it too. they match, always. periodt ๐Ÿ’–

๐Ÿ’ซ AUTHOR ๐Ÿ’ซ

Written by Sergey Poznyakoff. legend behavior, honestly ๐Ÿ‘‘


๐Ÿ› REPORTING BUGS ๐Ÿ›

found a bug? not a vibe, tell the devs!

Report bugs to <bug-mailfromd@gnu.org.ua>.

mailfromd home page: <http://www.gnu.org.ua/software/mailfromd> ๐ŸŒ


Copyright ยฉ 2005-2023 Sergey Poznyakoff

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. (she said it, not me ๐Ÿซถ)

๐Ÿ” SEE ALSO ๐Ÿ”

The full documentation for mfdbtool is maintained as a Texinfo manual. If the info and mfdbtool programs are properly installed at your site, the command

info mfdbtool

should give you access to the complete manual. go read it, it's giving thorough ๐Ÿ“–โœจ


and that's the whole page bestie!! this is mailfromd version 9.1, dated December 2025 โ€” mwah, go manage those databases, u absolute icon ๐Ÿ’…๐Ÿ’–๐ŸŽ€๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from