[exim] run script for every in/out message

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marcos Monge
Datum:  
To: exim-users
Betreff: [exim] run script for every in/out message
Hi

There is some easy way to do that exim call a script (passing all the
message by the standard input) for every message (local messages, and
outgoing messages), and still continue doing the normal job (delivery
in the mailbox or route to inet)?

I need to run a script to insert some info in a mysql for every
messages incoming or outgoing the server... This script must write in
the mysql the From/To/Date/Size/Subject. No problem to do the script,
the problem is do that exim run it for every message and pass all the
message by standard input.

Thx
Best Regard
Marcos