Footer disclaimers In Outgoing Mails WHM/Cpanel

Footer disclaimers In Outgoing Mails WHM/Cpanel

1. Download Altermime from http://www.pldaniels.com/altermime/altermime-0.3.9.tar.gz to your server, for example /usr/local/src/ doing:

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

nano /usr/local/etc/exim/textdisclaimer
and 
nano /usr/local/etc/exim/htmldisclaimer

textdisclaimer:

-------------
aziz.OR.ID

htmldisclaimer:

<p>
-----
<br />
  <a href="http://www.aziz.or.id">aziz.OR.ID </a>
</p>

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 = disclaimer_smtp

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.

Yatta! That’s all. Now you can test it by sending an email to any account, maybe yourself.

Posted on April 19, 2015 in Uncategorized

Share the Story

About the Author

Leave a reply

Your email address will not be published. Required fields are marked *

Back to Top