procmail
[Top] [All Lists]

Re: Q: Passing large messages to Formail?

2000-07-28 08:26:15
At 16:09 +0100 28 Jul 2000, Dave Ewart <ewart(_at_)icrf(_dot_)icnet(_dot_)uk> 
wrote:
So, if, for example, the Formail pipe was not part of an auto-reply
recipe and *needed* the whole message, it would fail in the manner I've
seen?  And this is _not_ because Formail itself is limited in the
message size it will accept, but rather a limitation of the pipe?

No, as long as a process (formail here) is still holding onto the
reading end of the pipe, the writer (procmail) will just block on
writing while the buffer is full.  The writer get an error only when the
buffer is full *and* there is no reader.  If something needed the whole
message it would keep reading (draining the buffer), so procmail would
be able to write the whole message without errors.

-- 
Aaron Schrab     aaron(_at_)schrab(_dot_)com      http://www.execpc.com/~aarons/
 Programming is like sex:
     one mistake and you support it for a life time.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail