procmail
[Top] [All Lists]

Re: Q: Passing large messages to Formail?

2000-07-28 08:44:10
On Friday, 28.07.2000 at 10:20 -0500, Aaron Schrab wrote:

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.

Got it, thanks ...

Dave.
-- 
Dave Ewart
ewart(_at_)icrf(_dot_)icnet(_dot_)uk
Computing Manager
ICRF Cancer Epidemiology Unit, Oxford UK

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