Thanks to Kjetil who helped me.
In the end I decided to try a ruby script and the following seems to
work:
======================
#!/usr/bin/ruby
require 'tmail'
mail = TMail::Mail.parse( $stdin.read )
disklymer = "\n\nDISCLAIMER: This disclaimer was just added as a test... \n"
if not mail.key?("X-Disclaimer") then
mail.[]=("X-Disclaimer","added")
if mail.multipart? then
mail.preamble += disklymer
else
mail.body += disklymer
end
end
puts mail.encoded
=========================
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"Therefore being justified by faith, we have peace with
God through our Lord Jesus Christ." Romans 5:1
VRYWARING: Hierdie vrywaring is bloot 'n toets...
DISCLAIMER: This disclaimer was just added as a test...
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/