[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exim and right permissions for execution of a perl script



now on my secondary name server I am getting this..
any ideas?

ns2:/usr/exim # tail /var/log/exim/paniclog 
2002-08-22 14:13:49 17hpuP-0000BI-00 unable to set gid=44 or uid=44
(euid=123): local delivery to |/dns/scripts/slave_ns.pl
<|/dns/scripts/slave_ns.pl> transport=address_pipe
2002-08-22 14:13:49 17hpuP-0000BI-00 failed to read delivery status for
|/dns/scripts/slave_ns.pl:dns-test at ns2.sanyutel.com from delivery
subprocess
2002-08-22 14:13:49 17hpuP-0000BI-00 pipe transport process returned
non-zero status 0x0100: exit code 1

ns2:/usr/exim # ls -l /dns/
total 12
drwx------    3 named    named        4096 Aug 22 13:21 .
drwxr-xr-x   20 root     root         4096 Aug 22 13:20 ..
drwx------    2 named    named        4096 Aug 22 13:21 scripts
ns2:/usr/exim # ls -l /dns/scripts/
total 24
drwx------    2 named    named        4096 Aug 22 13:21 .
drwx------    3 named    named        4096 Aug 22 13:21 ..
-rwx------    1 named    named       13280 Aug 22 13:21 slave_ns.pl
ns2:/usr/exim # ls -l /etc/dns_aliases 
-rw-r-----    1 exim     named          38 Aug 22 13:59 /etc/dns_aliases
ns2:/usr/exim # cat /etc/dns_aliases 
dns-test:	"|/dns/scripts/slave_ns.pl"
ns2:/usr/exim # grep dns_aliases /usr/exim/configure -A 4
dns_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch{/etc/dns_aliases}}
  user = named
  group = named
  file_transport = address_file
  pipe_transport = address_pipe
ns2:/usr/exim # 

-- 
Patrick J Okui
Systems Administrator
One2Net (U) Ltd


-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org