On Wed, Oct 03, 2001 at 09:31:07PM +0100, Jorge Oliveira wrote:
> I have a valiases file with the following line:
> y@???: "| php -q /home/webfrogg/omega.php"
> The problem is that the message is not parsed to the script...
Does the relevant aliasfile director have a pipe_transport option? What does
the debugging output say?
> I've tried to append variables like:
> y@???: "|php -q /home/webfrogg/omega.php $message_headers
> $message_size $message_size $message_body $message_body_end
> $message_body_size"
> but at the script, instead of getting those variables values, I get the name
> of the variables at array $agrv... That is, $agrv[1]="$message_headers"
> instead of having the real headers of the message.
You need an "expand = true" in your aliasfile options.
> Any ideas? I just want to be able to read the message content on the
> script...
Try unsetting forbid_pipe = true if set, and setting pipe_transport if not
set.
MBM
--
Matthew Byng-Maddick <mbm@???> http://colondot.net/