I'd also try piping into a bash script first to see if it's the pipe or just the php script refusing the connection.
Date: Fri, 16 Sep 2011 21:17:20 +0530 From: rdp....@gmail.com To: dbmail@dbmail.org Subject: Re: [Dbmail] need to pipe catchall mails to php script Thanks Paul, So I increased the log verbosity and checked the logsseems dbmail is complaining that it cannot open the input file. Any reasons on why it could do so. I have give 755 permissions on the php file and also have added dbmail and postfix as the user under the group www-data. Could it be because dbmail or postfix runs in chroot or something else? If so how would one deal with this regards On Fri, Sep 16, 2011 at 6:53 PM, Paul J Stevens <p...@nfg.nl> wrote: On 16-09-11 14:55, RDP wrote: > Thank you Alan and Paul. > > @Alan your suggestion works without a glitch, but the drawback is there > is inbetween user who get the mail and this changes the to/from header.. > > @Paul, I couldnt really grasp your suggestion. Anyway this is my present > postfix config > alias_maps = hash:/etc/aliases > alias_database = hash:/etc/aliases So you are *not* using mysql alias_maps! In that case: show some logs.. Perhaps dbmail-lmtpd can execute the PHP script. The logs should reveal why not. -- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin * Premium Hosting Services and Web Application Consultancy * www.nfg.nl/i...@nfg.nl/+31.85.877.99.97 ________________________________________________________________ _______________________________________________ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail _______________________________________________ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
_______________________________________________ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail