On Sun, 2009-12-13 at 23:34 +0100, Giovanni Mancuso wrote:
> I need to run a script that analyze the content of the email, after the
> "deliver" has delivered the email.

Why does it have to be after? Anyway, instead of running deliver you
could run a script that just calls deliver and then analyzes the mail.
Something like:

#!/bin/sh

file=/tmp/mail.$$
cat > $file
deliver < $file
analyze-contents $file
rm -f $file

That's a pretty bad script, but something similar should work.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to