I’d like to automatically add a message inside the body of each incoming mail I receive. We use postfix as MTA and I know that milters can have acces to the body of a mail to replace or add some message to it.
Does anyone know any existing milters that just add a message in the body?
You could do this with procmail without using a milter at all. Pipe all your incoming messages through procmail and call a filter script from there. The filter script may then change the body as you like. Something like this (procmail receipe with sed assuming you add your text at the end of the body):
| sed -e "$ s/.*/&
This is my message added