Sebastian Nielsen:
> I have a postfix server.
> 
> On the server, on mail put in outgoing queue (to be relayed), I
> want to run the following command: /usr/bin/hashcash -mXb 26
> [recipient01] [recipient02] .. [recipientNN]
>
> The output of the command (STDOUT) should be put somewhere in the
> MIME headers.

Use a Milter, written in Python or Perl. It needs to receive the
"end of message" event and from there it needs to invoke the "insert
header" action. For example, pymilter or pmilter.

        Wietse

Reply via email to