If all it does is pipe the message content in to sendmail's stdin then
how about "pipe". Or is it actually giving sendmail a file (the -remove
option makes me wonder).
It pipes to sendmail. The file is temporary, used internally
to build the message. Just before exec'ing to sendmail, spost
freopens stdin to it.
The tmp file is what gets refiled with Fcc, so -noremove doesn't
seem to add anything useful. (-remove is the default.)
I like "pipe" better than "spost".
-[no]push to (not) fork/exit before exec'ing sendmail
This is the only one that looks even vaguely interesting if it means
that you can watch any errors coming from sendmail.
The default is -nopush. sendmail errors should show up
either way. send(1) has -push and that seems the right
place to do this. If a user calls post directly, they could
fork/exec the entire post process, just like send.
Nmh-workers mailing list