OK, since the reaction to changing the syntax was overall positive, I have
updated the HMAC patch to make it an expansion item, in the form:
${hmac{<alg>}{<secret>}{<plaintext>}}
I've tested it briefly with exim -be and it seems to work.
Patch (and other patches) available from
http://www.arise.demon.co.uk/exim-patches/
SRH
--
Steve Haslam Reading, UK araqnid@???
Debian GNU/Linux Maintainer araqnid@???
Your heart has been ruptured and it will never heal
To get another heart you'll have to steal [leæther strip]