[exim] run script for every in/out message

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Marcos Monge
日付:  
To: exim-users
題目: [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