Its a old thread, but maybe it could help someone in the right direction...

I've found this on internet
1.- Download Altermime from
http://www.pldaniels.com/altermime/altermime-0.3.9.tar.gz to your server, for example /usr/local/src/ doing:
Code:
cd /usr/local/src/
wget http://www.pldaniels.com/altermime/altermime-0.3.9.tar.gz
tar xvfz altermime-0.3.9.tar.gz
cd altermime-0.3.7
make
make install
2.- Create disclaimers files in plaintext and in html
/usr/local/etc/exim/textdisclaimer
and
/usr/local/etc/exim/htmldisclaimer
textdisclaimer:
Code:
-------------
example.com
htmldisclaimer:
Code:
<p>
-----
<br />
<a href="http://www.example.com">example.com </a>
</p>
3.- Go to Exim Configuration file /etc/Exim.conf
4.- Find ROUTERS CONFIGURATION and in the first textfield put:
Code:
disclaimer:
driver = dnslookup
domains = ! +local_domains
transport = disclaimer_smtp5.- Find TRANSPORTS CONFIGURATION and in the textfield insert :
Code:
disclaimer_smtp:
driver = smtp
transport_filter = /usr/local/bin/altermime --input=- --disclaimer=/usr/local/etc/exim/textdisclaimer --disclaimer-html=/usr/local/etc/exim/htmldisclaimer
size_addition = 1
restart Exim and try
--------------------------------------------------------------
only one domain with disclaimer/footer
--------------------------------------------------------------
Well to limit this to only one domain on the server ( it wont work for
mails to other domains in the server (/etc/localdomains)
After installing the the script and making the disclaimer add
these to your exim.conf /etc/exim.conf
CHANGE: yourdomain.com to the domainname with the disclaimer
Code:
disclaimer:
driver = dnslookup
domains = ! +local_domains
transport = ${if eq {$sender_address_domain}{yourdomain.com}\
{disclaimer_smtp}{remote_smtp}}
ignore_target_hosts = 127.0.0.0/8
no_more
just Below the Routers Configuration ,
then under TRANSPORTS CONFIGURATION
added
Code:
disclaimer_smtp:
driver = smtp
transport_filter = /usr/local/bin/altermime --input=- --disclaimer=/usr/local/etc/exim/textdisclaimer --disclaimer-html=/usr/local/etc/exim/htmldisclaimer
size_addition = 1
now save and restart exim .
Check the mail status for yourdomain.com it now should have the disclaimer
I Didn't tested it but it can work ?