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-20 Thread Richard Lynch
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:

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

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

2007-04-19 Thread Richard Lynch
On Thu, April 19, 2007 1:23 pm, dan1 wrote: 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

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

2007-04-19 Thread Richard Lynch
On Thu, April 19, 2007 1:33 pm, dan1 wrote: This is a poor place to find an answer, because the one thing that stands out is that this is a problem with php, not Sendmail, and this is a Sendmail newsgroup not a php newsgroup. Your dangerously outdated version of php is running and emitting

[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

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

2007-04-18 Thread Richard Lynch
On Wed, April 18, 2007 11:20 am, dan1 wrote: 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