Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-21 Thread dan1
On Fri, April 20, 2007 10:27 am, dan1 wrote: I would simply like the script to be executed, when passed as a symlink as argument, instead of a hardlink. The problem is that when I specify the script to be executed (ecardbounce.php) as being a symlink, in the /etc/aliases like this: ecard-bounce

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-20 Thread dan1
However, if I put a hardlink instead of the symlink, all works fine! The permissions of the symlink and the file linekd are all 777. Has anyone already had this problem before, or would anyone have an idea of the cause? smrsh itself may disallow symlinks. Wouldn't surprise me. Why not just

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-19 Thread dan1
However, if I put a hardlink instead of the symlink, all works fine! The permissions of the symlink and the file linekd are all 777. Has anyone already had this problem before, or would anyone have an idea of the cause? smrsh itself may disallow symlinks. Wouldn't surprise me. Why not just

Re: [PHP] sendmail smrsh symlinks not working against php scripts

2007-04-19 Thread dan1
smrsh itself may disallow symlinks. Wouldn't surprise me. Why not just use #!/usr/bin/php -q at the top of your PHP script? Something else to my previous answer. Here is the answer of the sendmail guys. Maybe they are still right? Would PHP have a problem to handle symlinked input files? I

[PHP] sendmail smrsh symlinks not working against php scripts

2007-04-18 Thread dan1
Hello. I am trying to forward the e-mails received to one address towards a php script, under CentOS 4 (RHEL). I am trying all I can but nothing does. I have edited my /etc/aliases file and added this line. ecard-bounce: |/usr/bin/php /etc/smrsh/ecardbounce.php Then, of course I do a