FYI on getting PersistentPerl going with Qmail-Scanner...

> -----Original Message-----
> From: Sam Horrocks [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2003 1:11 PM
> To: Dallas Engelken
> Cc: [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Re: [Persistentperl-users] Followup to my STDOUT issue 
> 
> 
>  > When I look at Step 3 on how speedy works, I see that it 
> does not pipe STDOUT to the backend?
>  
> That's true.  STDOUT is sent from the backend to the frontend 
> as output
> from the script.  STDOUT, is not sent from the frontend to the backend
> for input.  STDOUT is an output channel.
> 
> > How am I supposed to read STDOUT from a previous pipe into 
> my script??
> 
> With STDIN.
>  
> > Like the one I posted before.  I'm trying to write a filter 
> that mail pipes through, but I dont want to invoke a perl 
> interpreter for each email!   In order to get the envelope 
> addresses, I have to read STDOUT from the qmail-smtpd pipe to 
> my script.
> 
> That should work.  In pipes, the STDOUT of the previous command
> (qmail in this case) becomes STDIN for the next command (your script).
> Should work fine.  STDIN is passed by the frontend from the 
> pipe to the
> backend's STDIN, the backend reads it, produces output on STDOUT, then
> STDOUT is copied from the backend to the frontend, where the frontend
> emits it on its STDOUT.
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to