| Option | Purpose |
| -h | short help |
| -a | format output as ASCII (default=HTML) |
| -g | print general information (default=no) |
| -q | print domains information for relays (default=no) |
| -u | print unknown messages list of sendmail (default=no) |
| -z | print unknown user messages list (default=no) |
| -o | print other messages list of sendmail (default=no) |
| -n | print domains information for envelopes (default=no) |
| -m | print milter rejects information (default=no) |
| -s | print ruleset rejects information (default=no) |
| -e | print envelope information (default=no) |
| -i | print index html file (default=no) |
| -r | print relays information (default=no) |
| -t | print TLS/SSL messages list of sendmail (default=no) |
| -j | print non-active clients messages list (default=no) |
| -x | print recipients summary information (default=no) |
| -y | print relays summary information (default=no) |
| -w | print weekly summary information (default=no) |
| -k | print messages/rejects statistics in plain ASCII (default=no) |
| -c config | configuration file name (default=/usr/local/etc/sma_stat.conf) |
| -v | verbose |
| -p | enable time profiling |
| -P | disable mergesort |
| -B outdir | output base catalog (default=current catalog) |
| -L logfile | logging file (default=/var/log/sma_stat.log) |
| -f infile | input file (logfile of sendmail) |
| -G outfile | output file of general info (option -g) |
| -Q outfile | output file of domains info for relays (option -q) |
| -N outfile | output file of domains info for envelopes (option -n) |
| -R outfile | output file of relays info (option -r) |
| -E outfile | output file of envelope info (option -e) |
| -M outfile | output file of milter reject info (option -m) |
| -S outfile | output file of sendmail ruleset rejects info (option -s) |
| -O outfile | output file of all other messages of sendmail (option -o) |
| -T outfile | output file of all TLS/SSL messages of sendmail (option -t) |
| -J outfile | output file of all non-active clients messages (option -j) |
| -U outfile | output file of all unknown messages of sendmail (option -u) |
| -X outfile | output file of summary info for recipients (otion -x) |
| -Y outfile | output file of summary info for relays (option -y) |
| -Z outfile | output file of all unknown user messages (option -z) |
| -I outfile | main HTML output file (option -i),(default=index.html) |
| -K outfile | output file of messages/rejects statistics (option -k) |
| -l licensekey | user license key file (default=/usr/local/etc/tpmail.key) |
| -d level | debugging level (default=0) |
| -V | print version |