> -----Original Message-----
> From: Sam Horrocks [mailto:sa...@da...]
> Sent: Thursday, March 13, 2003 3:22 PM
> To: Dallas Engelken
> Cc: per...@li...;
> spe...@li...
> Subject: Re: [Persistentperl-users] RE: [Speedycgi-users] Help with
> STDOUT=20
>=20
>=20
> You should be able to do email filtering with the current=20
> implementation.
> Just read from STDIN.
>=20
Here is the problem...
SYNOPSIS
qmail-queue
DESCRIPTION
qmail-queue reads a mail message from descriptor 0. It then =
reads envelope information from descriptor 1. It
places the message into the outgoing queue for future delivery by =
qmail-send.
qmail-queue is what I am replacing with my own custom script. =
qmail-queue is written in C, and can read descriptor 0 (the message) =
from qmail-smtpd, and read descriptor 1 (the envelope) from qmail-smtpd. =
A script written in perl can read both descriptors also, but once I =
try to write the script in perperl, it wont work because it cannot read =
descriptor 1, and I cant get everything to pass out of qmail-smtpd on =
descriptor 0 without a major rewrite of the qmail-smtpd code.
Thanks,
Dallas
|