Hi.
I had lot of problems finding the best solution, so i hope this will be helpfull for all.
1.- Download Altermime from pldaniels.com/altermime/altermime-0.3.9.tar.gz to your server, for example /usr/local/src/ doing:
2.- Create disclaimers files in plaintext and in html
textdisclaimer:
htmldisclaimer:
3.- Go to WHM --> Exim Configuration Editor --> Advanced Editor
4.- Find ROUTERS CONFIGURATION and in the first textfield put:
5.- Find TRANSPORTS CONFIGURATION and in the textfield insert :
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.
I had lot of problems finding the best solution, so i hope this will be helpfull for all.
1.- Download Altermime from pldaniels.com/altermime/altermime-0.3.9.tar.gz to your server, for example /usr/local/src/ doing:
Code:
cd /usr/local/src/
wget 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
Code:
/usr/local/etc/exim/textdisclaimer
and
/usr/local/etc/exim/htmldisclaimer
Code:
-------------
example.com
Code:
<p>
-----
<br />
<a href="http://www.example.com">example.com </a>
</p>
3.- Go to WHM --> Exim Configuration Editor --> Advanced Editor
4.- Find ROUTERS CONFIGURATION and in the first textfield put:
Code:
disclaimer:
driver = dnslookup
domains = ! +local_domains
transport = disclaimer_smtp
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
That's all.
Now you can test it by sending an email to any account, maybe yourself.
Last edited by a moderator: