> > I have but was hoping for something simpler like I do with
> > dovecot deliver where you create a script that calls deliver
> > after you do what you want for logging and then name your
> > script in something like deliver_exec = script.
> >
> > Might be wrong with the names but thats more or less what takes
> > place.
> >
> > I'd prefer to keep as much of this type of thing in the config
> > files. It seems to be easier to quickly see what's up when
> > there is a problem.
> >
> > I'll try the stored procedure if nothing more attractive turns
> > up.
>
> Well, possibly you could edit your transport to use a script and
> pass all the relevant variables to it, it can then also do an
> insert on your database.

Or write a simple policy daemon. All necessary information is sent to a
policy deamon which in turn can put data in a table. (I wrote something
in PHP using pcntl because I don't know how write it in C or Perl. It
writes data to a MYSQL table taken from the details sent by Postfix. Our
mailflow is not as big as some here, but so far it's proven to be quite
stable and it fulfills our needs.)


--
Rob

Reply via email to