Re: [exim] Exim run external script

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jorge
Päiväys:  
Vastaanottaja: exim-users, Jeremy Harris
Aihe: Re: [exim] Exim run external script
Thanks.

With your suggest I have found that the problems is due to my script use
iptables linux command and it is not posible to use it from exim because I
need root permissions.

It shows the following error messages:
iptables v1.3.5: can't initialize iptables table `filter': Permission denied
(you must be root)

Can I solve it? Any suggestions

Thanks in advance.

Jorge Colaccini

----- Original Message -----
From: "Jeremy Harris" <jgh@???>
To: <exim-users@???>
Sent: Monday, May 16, 2016 3:41 PM
Subject: Re: [exim] Exim run external script


On 16/05/16 19:19, Jorge wrote:
> continue = ${run{SHELL -c 'PGRCHK'}}


> Can anyone help me?


Run your exim with debug commandline options, so you can see
the ${run } expansion being done.
--
Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/