1.- Dow">

Footer Dslaimer In Outgoing Mails

8 September 2009, 6:33 PM
1.- Download Altermime from /linkout.php?url=www.pldaniels.com/altermime/a...e-0.3.9.tar.gz to your server, for example /usr/local/src/ doing:
 cd /usr/local/src/ wget /linkout.php?url=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
-------------
Ollie Kett




3.- Go to WHM --> Exim Configuration Editor --> Advanced Editor 4.- Find ROUTERS CONFIGURATION and in the first textfield put:
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

5.- Find TRANSPORTS CONFIGURATION and in the textfield insert :
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

6.- go to the bottom of the page and click save. That's all. Now you can test it by sending an email to any account, maybe yourself.