General-Purpose Mail Filter
mtasim— a testing tool
mtasim utility is a MTA simulator for testing
mailfromd filter scripts. By default it operates in
stdio mode, similar to that of
sendmail -bs. In this
mode it reads SMTP commands from standard input and sends
its responses to the standard output. There is also another mode,
called daemon, where
mtasim opens a TCP
socket and listens on it much like any MTA does. In both
modes no actual delivery is performed, the tool only simulates the
actions an MTA would do and responses it would give.
This tool is derived from the program
mta, which I wrote
for GNU Anubis test suite.
This document was generated on January 3, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.