Mailing List CGatePro@mail.stalker.com Message #92576
From: Frédéric Marchand <fmarchand@debiopharm.com>
Subject: RE : external processing failed: scripts in rule actions
Date: Wed, 12 Sep 2007 08:46:26 +0200
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
X-Mailer: CommuniGate Pro MAPI Connector 1.2.12/1.2.10
Thanks, but i tried that already (a previous post was mentioning this)

I still get "Error Code=external processing failed"

-----Message d'origine-----
De : CommuniGate Pro Discussions [mailto:CGatePro@mail.stalker.com] De
la part de Technical Support, Stalker Labs
Envoyé : mercredi, 12. septembre 2007 03:54
À : CommuniGate Pro Discussions
Objet : Re: external processing failed: scripts in rule actions


Hello,
  Frédéric Marchand on 11.09.2007 12:07 wrote:

> Hello!
> I'm trying to process mails using an external script, but everything i

> tried result in a "external task failed: Error Code=external
> processing failed"
>
> Whatever program or script is not even executed so i probably missed
> something, here what i've done:
>
> /var/CommuniGate/Scripts/test.sh:
> #!/bin/sh
> echo "ok" >> /tmp/ruleoutput.txt
> exit 0
>
> chmod a+x /var/CommuniGate/Scripts/test.sh
>
> And i set an action rule to: Execute /var/CommuniGate/Scripts/test.sh

Try to execute it throught the shell interpreter, i.e.
Execute /bin/sh /var/CommuniGate/Scripts/test.sh


> And i've got this message in the log:
> launching external task: /var/CommuniGate/Scripts/test.sh external
> task failed: Error Code=external processing failed
>
> I've also tried textscan.c which i found on the stalker's ftp, but
> it's the same problem.
>
> Thanks for helping me out!
>
> Fred
>
>
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>   the mailing list <CGatePro@mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
> To switch to the DIGEST mode, E-mail to
> <CGatePro-digest@mail.stalker.com>
> To switch to the INDEX mode, E-mail to
<CGatePro-index@mail.stalker.com>
> Send administrative queries to  <CGatePro-request@mail.stalker.com>


--
Sincerely,
Roman

=======================================================================
When answering to letters sent to you by the tech.support staff, make
sure the original message you have received is included into your reply.

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro@mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
To switch to the DIGEST mode, E-mail to
<CGatePro-digest@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
Send administrative queries to  <CGatePro-request@mail.stalker.com>



Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster