PROBLEM
I want to add a disclaimer to messages, regardless of client used.
ENVIRONMENT
- On-Premise Server + WebMail Installations: Version 6.0 > Current Version
- Webmail Only Installations: Version 6.0 > Current Version
CAUSE
The Footer message is appended only to emails send via the WebMail Client, not to all emails.
RESOLUTION
- Download altermime from: http://www.pldaniels.com/altermime/
- Untar and install Altermime.
tar
xvfz altermime-0.3.8.
tar
.gz
cd
altermime-0.3.8
make
;
make
install
- Open up your /usr/local/atmail/mailserver/configure file, and look for the following line:
remote_smtp:
driver = smtp
- Add this directly beneath the above line:
transport_filter=
"/usr/local/bin/altermime --multipart-insert --force-into-b64 --disclaimer-html=/usr/local/atmail/mailserver/.dischtml --disclaimer=/usr/local/atmail/mailserver/.discplain --input=- --force-for-bad-html"
- Create the files /usr/local/atmail/mailserver/.dischtml and /usr/local/atmail/mailserver/.discplain for HTML and Plaintext disclaimers, respectively.
- Restart Exim
kill -HUP `cat /usr/local/atmail/mailserver/spool/exim-daemon.pid`
Comments