nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] merge spost into post


From: David Levine
Subject: Re: [Nmh-workers] merge spost into post
Date: Sun, 08 Jul 2012 08:41:44 -0500

Oliver wrote:

> 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.

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]