For those who might need this later, I've finally with the help of
gandi-hosting newsgroup / irc 
Found solution to my problems :

1rst thing : 

My transport_map was not initialized in main.cf : 
To make piping work it's better to set it correctly without any
misspelling...

transport_maps = hash:/etc/postfix/transport_maps
which contains : 
bounces.f.net bounceh:

2nd thing : 

Master.cf had a problem with php file mapping, 
I had followed : http://answers.google.com/answers/threadview?id=562518
In my case I had to use following : 

bounceh   unix  -       n       n       -       -       pipe
  flags=Rq user=phpuser argv=/usr/bin/php
/srv/f/www/f.net/htdocs/bounces/get_bounces.php $sender $recipient

Last thing : 
Php script must take a #!/usr/bin/php in first line to make it bash
comprehensible... don't know why but seems needed.
Script must evidently have rights to execute.
Php script must be unix formatted, beware of any Windows / Mac editors that
can loose the unix format to file and throw errors like file not found, when
the file does exist with a ls -la.

Thanks any case for your ideas...

T. de LASSAT


Reply via email to