Stan Hoeppner: > On 2/9/2013 1:49 PM, Wietse Venema wrote: > > > Whatever command pipe(8) executes, it will have to > > > > 1) terminate > > AND > > 2) close stdout and stderr. > > > > If that command does not do both then pipe(8) will wait (up to a > > configurable time limit after which it kills the process). > > spamassassin unix - n n - - pipe > user=nobody argv=/usr/bin/spamc -f -e > /usr/sbin/sendmail -oi -f ${sender} ${recipient} > > Ok, so spamc is being called to pipe the msg to spamd, and should > terminate after doing so.
Yes. > When finished processing the msg, spamd pipes the msg back into > Postfix via the sendmail compatibility command, correct? Unknown. I don't use spamassassin. I would not exclude the possibility that spamc invokes /usr/sbin/sendmail. > I just tracked the processes via top with a test msg. pipe spawned, > spamc spawned and terminated instantly, I saw the message in my MUA > within 5 seconds, and somewhere around a minute later the pipe process > terminated. As documented, most Postfix daemons wait for up to 100s for more work, before they terminate. Wietse