MTASIM(1)

πŸ“¦
version 9.1 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’… MTASIM β€” bestie, it's the MTA simulator for mailfromd

Manual page mtasim(1), from the User Commands section. Sit down, grab a strawberry drink πŸ“, we're learning the MTA simulator.


✨ NAME ✨

mtasim β€” MTA simulator for mailfromd


πŸ¦‹ SYNOPSIS πŸ¦‹

mtasim [OPTION...]

πŸ‘‘ DESCRIPTION πŸ‘‘

Okay so like, mtasim is literally the MTA simulator for mailfromd. That's the whole vibe. It's giving "I pretend to be an MTA so you can test your stuff" and honestly? Iconic. πŸ”₯

🌸 Mode selection 🌸

Pick your fighter, bestie β€” this is where you decide what kind of MTA mtasim is pretending to be.

  • -b MODE β€” set the MTA mode. The options are -bd or -bs, no cap.
  • --daemon β€” run as a daemon. It's the same thing as -bd, fr fr.
  • *-g, --group=NAME* β€” retain the supplementary group NAME when switching to user privileges. Don't drop the group on your way out, she's coming with us. 🫢
  • --stdio β€” use the SMTP protocol on standard input and output. Same as -bs, periodt.
  • *-u, --user=NAME* β€” run with this user's privileges.

πŸ’– Operation modifiers πŸ’–

The little knobs and dials. The way that mtasim lets you tweak everything?? Obsessed.

  • *--body-chunk=NUMBER* β€” set the body chunk for xxfi_body calls.
  • *-D, --define=MACRO*=VALUE β€” define a Sendmail macro. Slay.
  • --[no-]interactive β€” interactive mode. Yes or no, your call, main character energy.
  • *--milter-actions=BITMASK* β€” force the given Milter actions.
  • *--milter-proto=BITMASK* β€” set Milter protocol capabilities.
  • *--milter-timeout=F*=V[,F=V...] β€” set milter timeouts. Comma-separated pairs, she's flexible like that. ✨
  • *--milter-version=VER* β€” force using the given Milter protocol version number.
  • *--prompt=STRING* β€” set the readline prompt. Cute little cursor invitation. πŸŽ€
  • *--sender-sockaddr=FAMILY*[,HOSTNAME,ADDRESS[,PORT]] β€” set the sender socket address. Note the nesting, bestie β€” PORT only shows up if ADDRESS is already there, iykyk.
  • --[no-]statedir β€” pass a temporary directory to mailfromd as its state dir. This one only works with -Xauto.
  • *-X, --port=PORT* β€” communicate with Milter PORT.

πŸ” Debugging and tracing πŸ”

For when you need to see exactly what's going on. Detective mode: activated. πŸ•΅οΈ

  • -a, --[no-]append β€” append to the trace file (instead of whatever it does otherwise, she's giving choices).
  • *--gacopyz-log=LEVEL* β€” set the Gacopyz log level.
  • *--trace-file=FILE* β€” set the name of the trace file.
  • -v, --verbose β€” increase the verbosity level. Say it with me: more -v, more talking. πŸ’¬

⭐ Informational options ⭐

Just the facts, no drama. 🌈

  • --show-config-options β€” show compilation options.
  • -?, --help β€” give this help list.
  • --usage β€” give a short usage message.
  • -V, --version β€” print program version.

Heads up bestie: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. So like, they match. Don't come for me. πŸ’€

πŸ’œ AUTHOR πŸ’œ

Written by Sergey Poznyakoff. Respect the icon. πŸ‘‘


😭 REPORTING BUGS 😭

Found a bug? Don't suffer in silence, 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. Like, none. Zero. Nada. 😭

🧚 SEE ALSO 🧚

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

info mtasim

should give you access to the complete manual. Go read it, it's giving ✨ literate ✨.


That's the whole page, bestie. πŸ’– Brought to you by mailfromd 9.1, dated December 2025 β€” from the MTASIM(1) manual page, User Commands section. Now go simulate an MTA, you gorgeous genius. πŸ’…πŸ¦‹

πŸ“¦ where this page comes from