On Sat, 19 Jun 2004, Roberto Pavesi wrote:

> Sasa Stupar wrote:
> 
> >Servitel srl - Roberto Pavesi pravi:
> >  
> >
> >>To satisfy a special request from one customer I have written a php program.
> >>
> >>This program work fine if called by keyboard but don't work on filter.tab.
> >>
> >>I have created a file named specialrequest.tab containing
> >>
> >>"/usr/local/php/bin/php 
> >>/var/MailRoot/bin/script.php"[tab]"@@FROM"[tab]"@@RCPT"[tab]"@@FILE"
> >>
> >>on filters.in.tab I have added for the appropriate domain the filter:
> >>
> >>"*"[tab]"[EMAIL 
> >>PROTECTED]"[tab]"0.0.0.0/0"[tab]"0.0.0.0/0"[tab]"specialrequest.tab"
> >>
> >>Any idea ?
> >>
> >>    
> >>
> >Run Xmail in debug mode so you can see what is the error.
> >
> >
> >-- Binary/unsupported file stripped by Ecartis --
> >-- Type: text/x-vcard
> >-- File: sasa.vcf
> >
> >
> >-
> >To unsubscribe from this list: send the line "unsubscribe xmail" in
> >the body of a message to [EMAIL PROTECTED]
> >For general help: send the line "help" in the body of a message to
> >[EMAIL PROTECTED]
> >
> >
> >
> >
> >  
> >
> NO ERROR !
> the problem is apparently the command line is incorrectly passed !
> This is the error I see on messages:
> 
> execv error: cmd='/usr/local/php/bin/php /var/MailRoot/bin/script.php' 
> errno=2 errstr='no such file or directory'
> 
> obviosuly the command line is correct !

You need to split it:

"/usr/local/php/bin/php" "/var/MailRoot/bin/script.php" ...



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to