Re: Php hook for all my emails

2010-05-08 Thread David Touzeau
On 07/05/2010 23:51, mouss wrote: Andrés Gattinoni a écrit : On Fri, May 7, 2010 at 5:29 PM, Noel Jones wrote: On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: Here's an example of a shell script that receives all mail. Shouldn't be much of a stretch to use PHP instead. http://www.postfix.org/F

Re: Php hook for all my emails

2010-05-08 Thread Reinaldo de Carvalho
On Sat, May 8, 2010 at 9:37 AM, Mark Scholten wrote: > I am now doing it by parsing the logs, but I want to get the following > information in a MySQL database (currently I get it from the logs, but that > takes a few hours to parse for 1 day logs). I currently log the following > data in a MyS

Re: Php hook for all my emails

2010-05-08 Thread mouss
Mark Scholten a écrit : > [snip] > I am now doing it by parsing the logs, but I want to get the following > information in a MySQL database (currently I get it from the logs, but that > takes a few hours to parse for 1 day logs). > I currently log the following data in a MySQL database: > - sende

RE: Php hook for all my emails

2010-05-08 Thread Mark Scholten
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of mouss > Sent: Friday, May 07, 2010 11:51 PM > To: postfix users > Subject: Re: Php hook for all my emails > > Andrés Gattinoni a écrit : > &g

Re: Php hook for all my emails

2010-05-07 Thread mouss
Andrés Gattinoni a écrit : > On Fri, May 7, 2010 at 5:29 PM, Noel Jones wrote: >> On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: >> Here's an example of a shell script that receives all mail. Shouldn't be >> much of a stretch to use PHP instead. >> http://www.postfix.org/FILTER_README.html#simple_fi

Re: Php hook for all my emails

2010-05-07 Thread Noel Jones
On 5/7/2010 3:40 PM, Andrés Gattinoni wrote: On Fri, May 7, 2010 at 5:29 PM, Noel Jones wrote: On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: Here's an example of a shell script that receives all mail. Shouldn't be much of a stretch to use PHP instead. http://www.postfix.org/FILTER_README.html

Re: Php hook for all my emails

2010-05-07 Thread Andrés Gattinoni
On Fri, May 7, 2010 at 5:29 PM, Noel Jones wrote: > On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: >> > Here's an example of a shell script that receives all mail. Shouldn't be > much of a stretch to use PHP instead. > http://www.postfix.org/FILTER_README.html#simple_filter > > If you still want to

Re: Php hook for all my emails

2010-05-07 Thread Noel Jones
On 5/7/2010 2:53 PM, Andrés Gattinoni wrote: Hi there, I've just suscribed because I'm having troubles to set up a postfix server and just can't find the right answer in google. I'm running Postfix 2.3.3 on a CentOS 5.4 box with Dovecot 1.0.7 for authentication, Amavisd-new 2.6.4, SpamAssasin 3